#20400E#20400E

#20400E is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.5% C 0.085 H 136.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#20400E
RGBrgb(32, 64, 14)
HSLhsl(98, 64%, 15%)
HSVhsv(98, 78%, 25%)
CMYKcmyk(50%, 0%, 78.1%, 74.9%)
CIE-LABlab(23.69, -22.21, 25.77)
CIE-LCHlch(23.69, 34.03, 130.75°)
OKLaboklab(33.47% -0.0617 0.0587)
OKLCHoklch(33.47% 0.085 136.4)
XYZxyz(2.5083, 4.0054, 1.0563)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20400E #2E0E40
analogous
#39400E #20400E #0E4015
triadic
#20400E #0E2040 #400E20
tetradic
#20400E #0E3940 #2E0E40 #40150E
square
#20400E #0E3940 #2E0E40 #40150E
split-complementary
#20400E #150E40 #400E39
monochromatic
#0D1905 #0D1905 #20400E #397219 #52A424

Accessibility & contrast

On white

11.66
#20400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#20400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20400E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20400E#FFFFFF#000000##FFFFFF
##20400E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A07
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#1F3D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20400e;
/* rgb */ color: rgb(32, 64, 14);
/* oklch */ color: oklch(33.5% 0.085 136.4);
Tailwind
colors: {
  custom: {
    50: '#5f7550',
    500: '#20400e',
    950: '#000000',
  },
}
SCSS
$custom: #20400e;
$custom-light: #5f7550;
$custom-dark: #000000;
JSON
{
  "hex": "#20400e",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 98.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3347,
    "c": 0.08513,
    "h": 136.4
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#20400E
secondary
#602F7B
accent
#41E7AB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #20400E

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

Preview Lab → · Contrast checker → · Palette generator →

#20400E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva