#284809#284809

#284809 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.096 H 133.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#284809
RGBrgb(40, 72, 9)
HSLhsl(90, 78%, 16%)
HSVhsv(90, 88%, 28%)
CMYKcmyk(44.4%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.03, -23.34, 31.32)
CIE-LCHlch(27.03, 39.06, 126.69°)
OKLaboklab(36.32% -0.0657 0.0693)
OKLCHoklch(36.32% 0.096 133.5)
XYZxyz(3.2417, 5.1054, 1.0730)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284809 #290948
analogous
#474809 #284809 #094809
triadic
#284809 #092848 #480928
tetradic
#284809 #094748 #290948 #480909
square
#284809 #094748 #290948 #480909
split-complementary
#284809 #090948 #480947
monochromatic
#0F1B03 #0F1B03 #284809 #467E10 #64B517

Accessibility & contrast

On white

10.39
#284809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#284809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284809
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284809#FFFFFF#000000##FFFFFF
##2848091.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#28453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #284809;
/* rgb */ color: rgb(40, 72, 9);
/* oklch */ color: oklch(36.3% 0.096 133.5);
Tailwind
colors: {
  custom: {
    50: '#667b4e',
    500: '#284809',
    950: '#000000',
  },
}
SCSS
$custom: #284809;
$custom-light: #667b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#284809",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 90.476,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.0955,
    "h": 133.5
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#284809
secondary
#572785
accent
#34F495
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #284809

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

Preview Lab → · Contrast checker → · Palette generator →

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