#284A08#284A08

#284A08 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 36.9% C 0.099 H 133.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#284A08
RGBrgb(40, 74, 8)
HSLhsl(91, 80%, 16%)
HSVhsv(91, 89%, 29%)
CMYKcmyk(45.9%, 0%, 89.2%, 71%)
CIE-LABlab(27.75, -24.37, 32.36)
CIE-LCHlch(27.75, 40.51, 126.98°)
OKLaboklab(36.91% -0.0686 0.0713)
OKLCHoklch(36.91% 0.099 133.9)
XYZxyz(3.3676, 5.3660, 1.0880)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A08 #2A084A
analogous
#494A08 #284A08 #084A09
triadic
#284A08 #08284A #4A0828
tetradic
#284A08 #08494A #2A084A #4A0908
square
#284A08 #08494A #2A084A #4A0908
split-complementary
#284A08 #09084A #4A0849
monochromatic
#0F1C03 #0F1C03 #284A08 #46810E #64B814

Accessibility & contrast

On white

10.13
#284A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#284A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284A08
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284A08#FFFFFF#000000##FFFFFF
##284A081.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#28473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284a08;
/* rgb */ color: rgb(40, 74, 8);
/* oklch */ color: oklch(36.9% 0.099 133.9);
Tailwind
colors: {
  custom: {
    50: '#667d4e',
    500: '#284a08',
    950: '#000000',
  },
}
SCSS
$custom: #284a08;
$custom-light: #667d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#284a08",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 8
  },
  "hsl": {
    "h": 90.909,
    "s": 80.488,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.09891,
    "h": 133.9
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#284A08
secondary
#582688
accent
#31F797
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284A08

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

Preview Lab → · Contrast checker → · Palette generator →

#284A08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva