#284209#284209

#284209 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.5% C 0.087 H 131.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#284209
RGBrgb(40, 66, 9)
HSLhsl(87, 76%, 15%)
HSVhsv(87, 86%, 26%)
CMYKcmyk(39.4%, 0%, 86.4%, 74.1%)
CIE-LABlab(24.85, -20.33, 29.26)
CIE-LCHlch(24.85, 35.63, 124.80°)
OKLaboklab(34.53% -0.0576 0.065)
OKLCHoklch(34.53% 0.087 131.6)
XYZxyz(2.8726, 4.3672, 0.9500)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284209 #230942
analogous
#424009 #284209 #0C4209
triadic
#284209 #092842 #420928
tetradic
#284209 #094240 #230942 #42090C
square
#284209 #094240 #230942 #42090C
split-complementary
#284209 #090C42 #400942
monochromatic
#101B04 #101B04 #284209 #497810 #69AE18

Accessibility & contrast

On white

11.21
#284209 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#284209 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284209
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284209#FFFFFF#000000##FFFFFF
##2842091.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C01
Deuteranopia (green-blind)
#423A0F
Tritanopia (blue-blind)
#293F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #284209;
/* rgb */ color: rgb(40, 66, 9);
/* oklch */ color: oklch(34.5% 0.087 131.6);
Tailwind
colors: {
  custom: {
    50: '#65764d',
    500: '#284209',
    950: '#000000',
  },
}
SCSS
$custom: #284209;
$custom-light: #65764d;
$custom-dark: #000000;
JSON
{
  "hex": "#284209",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 9
  },
  "hsl": {
    "h": 87.368,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.08683,
    "h": 131.6
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#284209
secondary
#502780
accent
#35F38C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284209

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

Preview Lab → · Contrast checker → · Palette generator →

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