#284608#284608

#284608 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.093 H 132.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#284608
RGBrgb(40, 70, 8)
HSLhsl(89, 79%, 15%)
HSVhsv(89, 89%, 27%)
CMYKcmyk(42.9%, 0%, 88.6%, 72.5%)
CIE-LABlab(26.30, -22.42, 31.02)
CIE-LCHlch(26.30, 38.28, 125.86°)
OKLaboklab(35.72% -0.0633 0.0685)
OKLCHoklch(35.72% 0.093 132.8)
XYZxyz(3.1090, 4.8488, 1.0018)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284608 #260846
analogous
#464508 #284608 #094608
triadic
#284608 #082846 #460828
tetradic
#284608 #084645 #260846 #460809
square
#284608 #084645 #260846 #460809
split-complementary
#284608 #080946 #450846
monochromatic
#101B03 #101B03 #284608 #477D0E #67B415

Accessibility & contrast

On white

10.66
#284608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#284608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284608
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284608#FFFFFF#000000##FFFFFF
##2846081.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494000
Deuteranopia (green-blind)
#453D0F
Tritanopia (blue-blind)
#28433B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #284608;
/* rgb */ color: rgb(40, 70, 8);
/* oklch */ color: oklch(35.7% 0.093 132.8);
Tailwind
colors: {
  custom: {
    50: '#65794e',
    500: '#284608',
    950: '#000000',
  },
}
SCSS
$custom: #284608;
$custom-light: #65794e;
$custom-dark: #000000;
JSON
{
  "hex": "#284608",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 89.032,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.09326,
    "h": 132.8
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#284608
secondary
#532684
accent
#32F691
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284608

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

Preview Lab → · Contrast checker → · Palette generator →

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