#284408#284408

#284408 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.090 H 132.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#284408
RGBrgb(40, 68, 8)
HSLhsl(88, 79%, 15%)
HSVhsv(88, 88%, 27%)
CMYKcmyk(41.2%, 0%, 88.2%, 73.3%)
CIE-LABlab(25.57, -21.42, 30.35)
CIE-LCHlch(25.57, 37.14, 125.22°)
OKLaboklab(35.12% -0.0606 0.0671)
OKLCHoklch(35.12% 0.09 132.1)
XYZxyz(2.9860, 4.6028, 0.9608)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284408 #240844
analogous
#444208 #284408 #0A4408
triadic
#284408 #082844 #440828
tetradic
#284408 #084442 #240844 #44080A
square
#284408 #084442 #240844 #44080A
split-complementary
#284408 #080A44 #420844
monochromatic
#101B03 #101B03 #284408 #487B0E #68B215

Accessibility & contrast

On white

10.93
#284408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#284408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284408
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284408#FFFFFF#000000##FFFFFF
##2844081.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#294139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284408;
/* rgb */ color: rgb(40, 68, 8);
/* oklch */ color: oklch(35.1% 0.090 132.1);
Tailwind
colors: {
  custom: {
    50: '#65784d',
    500: '#284408',
    950: '#000000',
  },
}
SCSS
$custom: #284408;
$custom-light: #65784d;
$custom-dark: #000000;
JSON
{
  "hex": "#284408",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 88,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3512,
    "c": 0.0904,
    "h": 132.1
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#284408
secondary
#512682
accent
#32F58D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #284408

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

Preview Lab → · Contrast checker → · Palette generator →

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