#204108#204108

#204108 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.7% C 0.091 H 135.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#204108
RGBrgb(32, 65, 8)
HSLhsl(95, 78%, 14%)
HSVhsv(95, 88%, 25%)
CMYKcmyk(50.8%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.02, -23.20, 28.69)
CIE-LCHlch(24.02, 36.90, 128.95°)
OKLaboklab(33.72% -0.0648 0.0638)
OKLCHoklch(33.72% 0.091 135.4)
XYZxyz(2.5297, 4.1050, 0.8887)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#204108 #290841
analogous
#3D4108 #204108 #08410D
triadic
#204108 #082041 #410820
tetradic
#204108 #083D41 #290841 #410D08
square
#204108 #083D41 #290841 #410D08
split-complementary
#204108 #0D0841 #41083D
monochromatic
#0D1B03 #0D1B03 #204108 #3B770F #56AE15

Accessibility & contrast

On white

11.53
#204108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#204108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #204108
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##204108#FFFFFF#000000##FFFFFF
##2041081.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#1F3E36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #204108;
/* rgb */ color: rgb(32, 65, 8);
/* oklch */ color: oklch(33.7% 0.091 135.4);
Tailwind
colors: {
  custom: {
    50: '#5f764d',
    500: '#204108',
    950: '#000000',
  },
}
SCSS
$custom: #204108;
$custom-light: #5f764d;
$custom-dark: #000000;
JSON
{
  "hex": "#204108",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 94.737,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33723,
    "c": 0.09096,
    "h": 135.4
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#204108
secondary
#5A257F
accent
#33F5A3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #204108

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

Preview Lab → · Contrast checker → · Palette generator →

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