#284A09#284A09

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

Color values

HEX#284A09
RGBrgb(40, 74, 9)
HSLhsl(91, 78%, 16%)
HSVhsv(91, 88%, 29%)
CMYKcmyk(45.9%, 0%, 87.8%, 71%)
CIE-LABlab(27.76, -24.31, 31.99)
CIE-LCHlch(27.76, 40.18, 127.22°)
OKLaboklab(36.91% -0.0683 0.0707)
OKLCHoklch(36.91% 0.098 134)
XYZxyz(3.3731, 5.3682, 1.1168)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284A09 #2B094A
analogous
#494A09 #284A09 #094A0B
triadic
#284A09 #09284A #4A0928
tetradic
#284A09 #09494A #2B094A #4A0B09
square
#284A09 #09494A #2B094A #4A0B09
split-complementary
#284A09 #0B094A #4A0949
monochromatic
#0F1B03 #0F1B03 #284A09 #458110 #63B716

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##284A09#FFFFFF#000000##FFFFFF
##284A091.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)
#424242

Design tokens & code

CSS
--color: #284a09;
/* rgb */ color: rgb(40, 74, 9);
/* oklch */ color: oklch(36.9% 0.098 134.0);
Tailwind
colors: {
  custom: {
    50: '#667d4f',
    500: '#284a09',
    950: '#000000',
  },
}
SCSS
$custom: #284a09;
$custom-light: #667d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#284a09",
  "rgb": {
    "r": 40,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 91.385,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.09832,
    "h": 134
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#284A09
secondary
#5A2787
accent
#33F598
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284A09

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

Preview Lab → · Contrast checker → · Palette generator →

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