#284208#284208

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

Color values

HEX#284208
RGBrgb(40, 66, 8)
HSLhsl(87, 78%, 15%)
HSVhsv(87, 88%, 26%)
CMYKcmyk(39.4%, 0%, 87.9%, 74.1%)
CIE-LABlab(24.84, -20.40, 29.66)
CIE-LCHlch(24.84, 36.00, 124.52°)
OKLaboklab(34.53% -0.0579 0.0656)
OKLCHoklch(34.53% 0.088 131.4)
XYZxyz(2.8671, 4.3650, 0.9211)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284208 #220842
analogous
#423F08 #284208 #0B4208
triadic
#284208 #082842 #420828
tetradic
#284208 #08423F #220842 #42080B
square
#284208 #08423F #220842 #42080B
split-complementary
#284208 #080B42 #3F0842
monochromatic
#111B03 #111B03 #284208 #49790F #6AAF15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284208#FFFFFF#000000##FFFFFF
##2842081.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)
#453C00
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#293F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #284208;
/* rgb */ color: rgb(40, 66, 8);
/* oklch */ color: oklch(34.5% 0.088 131.4);
Tailwind
colors: {
  custom: {
    50: '#65764d',
    500: '#284208',
    950: '#000000',
  },
}
SCSS
$custom: #284208;
$custom-light: #65764d;
$custom-dark: #000000;
JSON
{
  "hex": "#284208",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 86.897,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34525,
    "c": 0.08751,
    "h": 131.4
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#284208
secondary
#4E2580
accent
#33F58A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284208

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

Preview Lab → · Contrast checker → · Palette generator →

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