#203902#203902

#203902 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.084 H 131.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#203902
RGBrgb(32, 57, 2)
HSLhsl(87, 93%, 12%)
HSVhsv(87, 96%, 22%)
CMYKcmyk(43.9%, 0%, 96.5%, 77.6%)
CIE-LABlab(20.97, -19.74, 27.96)
CIE-LCHlch(20.97, 34.22, 125.22°)
OKLaboklab(31.21% -0.0561 0.0627)
OKLCHoklch(31.21% 0.084 131.9)
XYZxyz(2.0697, 3.2376, 0.5733)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203902 #1B0239
analogous
#393702 #203902 #043902
triadic
#203902 #022039 #390220
tetradic
#203902 #023937 #1B0239 #390204
square
#203902 #023937 #1B0239 #390204
split-complementary
#203902 #020439 #370239
monochromatic
#111E01 #111E01 #203902 #417404 #62AF06

Accessibility & contrast

On white

12.75
#203902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#203902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203902
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203902#FFFFFF#000000##FFFFFF
##2039021.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#393207
Tritanopia (blue-blind)
#21362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #203902;
/* rgb */ color: rgb(32, 57, 2);
/* oklch */ color: oklch(31.2% 0.084 131.9);
Tailwind
colors: {
  custom: {
    50: '#5e6f49',
    500: '#203902',
    950: '#000000',
  },
}
SCSS
$custom: #203902;
$custom-light: #5e6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#203902",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 87.273,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.08412,
    "h": 131.9
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#203902
secondary
#471A7D
accent
#29FF8A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #203902

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

Preview Lab → · Contrast checker → · Palette generator →

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