#284008#284008

#284008 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.085 H 130.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#284008
RGBrgb(40, 64, 8)
HSLhsl(86, 78%, 14%)
HSVhsv(86, 88%, 25%)
CMYKcmyk(37.5%, 0%, 87.5%, 74.9%)
CIE-LABlab(24.11, -19.36, 28.95)
CIE-LCHlch(24.11, 34.83, 123.78°)
OKLaboklab(33.93% -0.0551 0.0642)
OKLCHoklch(33.93% 0.085 130.6)
XYZxyz(2.7523, 4.1353, 0.8829)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284008 #200840
analogous
#403C08 #284008 #0C4008
triadic
#284008 #082840 #400828
tetradic
#284008 #08403C #200840 #40080C
square
#284008 #08403C #200840 #40080C
split-complementary
#284008 #080C40 #3C0840
monochromatic
#111B03 #111B03 #284008 #4A760F #6CAD16

Accessibility & contrast

On white

11.49
#284008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#284008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284008
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284008#FFFFFF#000000##FFFFFF
##2840081.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#293D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #284008;
/* rgb */ color: rgb(40, 64, 8);
/* oklch */ color: oklch(33.9% 0.085 130.6);
Tailwind
colors: {
  custom: {
    50: '#65754d',
    500: '#284008',
    950: '#000000',
  },
}
SCSS
$custom: #284008;
$custom-light: #65754d;
$custom-dark: #000000;
JSON
{
  "hex": "#284008",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 8
  },
  "hsl": {
    "h": 85.714,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.08458,
    "h": 130.6
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#284008
secondary
#4C257E
accent
#34F486
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #284008

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

Preview Lab → · Contrast checker → · Palette generator →

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