#152D08#152D08

#152D08 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.8% C 0.067 H 136.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#152D08
RGBrgb(21, 45, 8)
HSLhsl(99, 70%, 10%)
HSVhsv(99, 82%, 18%)
CMYKcmyk(53.3%, 0%, 82.2%, 82.4%)
CIE-LABlab(15.77, -17.61, 19.20)
CIE-LCHlch(15.77, 26.06, 132.53°)
OKLaboklab(26.79% -0.0488 0.0464)
OKLCHoklch(26.79% 0.067 136.5)
XYZxyz(1.2914, 2.0537, 0.5580)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D08 #20082D
analogous
#272D08 #152D08 #082D0D
triadic
#152D08 #08152D #2D0815
tetradic
#152D08 #08272D #20082D #2D0D08
square
#152D08 #08272D #20082D #2D0D08
split-complementary
#152D08 #0D082D #2D0827
monochromatic
#0C1A05 #0C1A05 #152D08 #2D6111 #45951A

Accessibility & contrast

On white

14.89
#152D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D08
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D08#FFFFFF#000000##FFFFFF
##152D081.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2904
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#142B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d08;
/* rgb */ color: rgb(21, 45, 8);
/* oklch */ color: oklch(26.8% 0.067 136.5);
Tailwind
colors: {
  custom: {
    50: '#54664a',
    500: '#152d08',
    950: '#000000',
  },
}
SCSS
$custom: #152d08;
$custom-light: #54664a;
$custom-dark: #000000;
JSON
{
  "hex": "#152d08",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 98.919,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26794,
    "c": 0.06735,
    "h": 136.5
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#152D08
secondary
#53256C
accent
#3BEDAE
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152D08

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

Preview Lab → · Contrast checker → · Palette generator →

#152D08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva