#31700A

A color in the Green family

#31700a is a color in the Green family: RGB(49, 112, 10), HSL(97°, 84%, 24%), CMYK(56%, 0%, 91%, 56%). Closest named color: darkgreen. Contrast is 6.08:1 on white and 3.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#31700a
RGBrgb(49 112 10)
RGB (legacy)rgb(49, 112, 10)
RGB %rgb(19% 44% 4%)
HSLhsl(97 84% 24%)
HSV / HSBhsv(97, 91%, 44%)
HWBhwb(97 4% 56%)
CMYKcmyk(56%, 0%, 91%, 56%)
CIELAB (D50)lab(41.72 -34.18 43.29)
LCHlch(41.72 55.16 128.29)
OKLaboklab(0.4844 -0.1047 0.0965)
OKLCHoklch(0.4844 0.1424 137.32)
Decimal3239946

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 5
Closest web-safe color#336600
Hue97°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)24%
Brightness or Value (HSV)44%
Luminance (Rec.601 / Rec.709)32% / 36%
Relative luminance (WCAG)0.1226
Red / Green / Blue49 / 112 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 80 / -21.8 · As background with white / black text: Lc -85.2 / 24

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #31700a;
  --color-brand-oklch: oklch(48.44% 0.1424 137.32);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(49 112 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#31700a] text-[#31700a] border-[#31700a]">