#204004#204004

#204004 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.4% C 0.092 H 134.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#204004
RGBrgb(32, 64, 4)
HSLhsl(92, 88%, 13%)
HSVhsv(92, 94%, 25%)
CMYKcmyk(50%, 0%, 93.8%, 74.9%)
CIE-LABlab(23.61, -23.03, 29.92)
CIE-LCHlch(23.61, 37.76, 127.58°)
OKLaboklab(33.38% -0.0647 0.0659)
OKLCHoklch(33.38% 0.092 134.5)
XYZxyz(2.4509, 3.9825, 0.7544)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204004 #240440
analogous
#3E4004 #204004 #044006
triadic
#204004 #042040 #400420
tetradic
#204004 #043E40 #240440 #400604
square
#204004 #043E40 #240440 #400604
split-complementary
#204004 #060440 #40043E
monochromatic
#0E1D02 #0E1D02 #204004 #3D7A08 #5AB30B

Accessibility & contrast

On white

11.69
#204004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#204004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204004
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204004#FFFFFF#000000##FFFFFF
##2040041.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3F370B
Tritanopia (blue-blind)
#1F3D35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #204004;
/* rgb */ color: rgb(32, 64, 4);
/* oklch */ color: oklch(33.4% 0.092 134.5);
Tailwind
colors: {
  custom: {
    50: '#5f754a',
    500: '#204004',
    950: '#000000',
  },
}
SCSS
$custom: #204004;
$custom-light: #5f754a;
$custom-dark: #000000;
JSON
{
  "hex": "#204004",
  "rgb": {
    "r": 32,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 92,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33384,
    "c": 0.09239,
    "h": 134.5
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#204004
secondary
#531F81
accent
#29FE9B
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #204004

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

Preview Lab → · Contrast checker → · Palette generator →

#204004 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva