#20390F#20390F

#20390F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.073 H 134.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#20390F
RGBrgb(32, 57, 15)
HSLhsl(96, 58%, 14%)
HSVhsv(96, 74%, 22%)
CMYKcmyk(43.9%, 0%, 73.7%, 77.6%)
CIE-LABlab(21.09, -18.55, 22.49)
CIE-LCHlch(21.09, 29.15, 129.53°)
OKLaboklab(31.34% -0.0516 0.0519)
OKLCHoklch(31.34% 0.073 134.8)
XYZxyz(2.1450, 3.2677, 0.9696)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20390F #280F39
analogous
#35390F #20390F #0F3913
triadic
#20390F #0F2039 #390F20
tetradic
#20390F #0F3539 #280F39 #39130F
square
#20390F #0F3539 #280F39 #39130F
split-complementary
#20390F #130F39 #390F35
monochromatic
#0E1806 #0E1806 #20390F #3B691C #569A29

Accessibility & contrast

On white

12.70
#20390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#20390F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20390F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20390F#FFFFFF#000000##FFFFFF
##20390F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340A
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#203730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #20390f;
/* rgb */ color: rgb(32, 57, 15);
/* oklch */ color: oklch(31.3% 0.073 134.8);
Tailwind
colors: {
  custom: {
    50: '#5e6f4f',
    500: '#20390f',
    950: '#000000',
  },
}
SCSS
$custom: #20390f;
$custom-light: #5e6f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20390f",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 95.714,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31343,
    "c": 0.07322,
    "h": 134.8
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#20390F
secondary
#583073
accent
#46E2A3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #20390F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20390F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva