#152B08#152B08

#152B08 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.064 H 135.9°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#152B08
RGBrgb(21, 43, 8)
HSLhsl(98, 69%, 10%)
HSVhsv(98, 81%, 17%)
CMYKcmyk(51.2%, 0%, 81.4%, 83.1%)
CIE-LABlab(14.98, -16.56, 18.20)
CIE-LCHlch(14.98, 24.60, 132.30°)
OKLaboklab(26.15% -0.046 0.0446)
OKLCHoklch(26.15% 0.064 135.9)
XYZxyz(1.2169, 1.9046, 0.5332)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B08 #1E082B
analogous
#272B08 #152B08 #082B0C
triadic
#152B08 #08152B #2B0815
tetradic
#152B08 #08272B #1E082B #2B0C08
square
#152B08 #08272B #1E082B #2B0C08
split-complementary
#152B08 #0C082B #2B0827
monochromatic
#0D1A05 #0D1A05 #152B08 #2E5F12 #47921B

Accessibility & contrast

On white

15.21
#152B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#152B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B08
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B08#FFFFFF#000000##FFFFFF
##152B081.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#142924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b08;
/* rgb */ color: rgb(21, 43, 8);
/* oklch */ color: oklch(26.1% 0.064 135.9);
Tailwind
colors: {
  custom: {
    50: '#54644a',
    500: '#152b08',
    950: '#000000',
  },
}
SCSS
$custom: #152b08;
$custom-light: #54644a;
$custom-dark: #000000;
JSON
{
  "hex": "#152b08",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 97.714,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.26149,
    "c": 0.06407,
    "h": 135.9
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#152B08
secondary
#50256A
accent
#3CEBAA
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B08

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

Preview Lab → · Contrast checker → · Palette generator →

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