#152804#152804

#152804 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.1% C 0.064 H 133.0°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#152804
RGBrgb(21, 40, 4)
HSLhsl(92, 82%, 9%)
HSVhsv(92, 90%, 16%)
CMYKcmyk(47.5%, 0%, 90%, 84.3%)
CIE-LABlab(13.74, -15.45, 18.22)
CIE-LCHlch(13.74, 23.89, 130.29°)
OKLaboklab(25.12% -0.0435 0.0466)
OKLCHoklch(25.12% 0.064 133)
XYZxyz(1.0900, 1.6857, 0.3828)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152804 #170428
analogous
#272804 #152804 #042805
triadic
#152804 #041528 #280415
tetradic
#152804 #042728 #170428 #280504
square
#152804 #042728 #170428 #280504
split-complementary
#152804 #050428 #280427
monochromatic
#0F1C03 #0F1C03 #152804 #32600A #4F970F

Accessibility & contrast

On white

15.70
#152804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#152804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152804
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152804#FFFFFF#000000##FFFFFF
##1528041.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2401
Deuteranopia (green-blind)
#272307
Tritanopia (blue-blind)
#152621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #152804;
/* rgb */ color: rgb(21, 40, 4);
/* oklch */ color: oklch(25.1% 0.064 133.0);
Tailwind
colors: {
  custom: {
    50: '#536248',
    500: '#152804',
    950: '#000000',
  },
}
SCSS
$custom: #152804;
$custom-light: #536248;
$custom-dark: #000000;
JSON
{
  "hex": "#152804",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 91.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25122,
    "c": 0.06376,
    "h": 133
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#152804
secondary
#461D6B
accent
#30F899
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #152804

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

Preview Lab → · Contrast checker → · Palette generator →

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