#152C08#152C08

#152C08 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.066 H 136.2°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#152C08
RGBrgb(21, 44, 8)
HSLhsl(98, 69%, 10%)
HSVhsv(98, 82%, 17%)
CMYKcmyk(52.3%, 0%, 81.8%, 82.7%)
CIE-LABlab(15.37, -17.09, 18.70)
CIE-LCHlch(15.37, 25.34, 132.42°)
OKLaboklab(26.47% -0.0474 0.0455)
OKLCHoklch(26.47% 0.066 136.2)
XYZxyz(1.2537, 1.9783, 0.5455)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C08 #1F082C
analogous
#272C08 #152C08 #082C0D
triadic
#152C08 #08152C #2C0815
tetradic
#152C08 #08272C #1F082C #2C0D08
square
#152C08 #08272C #1F082C #2C0D08
split-complementary
#152C08 #0D082C #2C0827
monochromatic
#0C1A05 #0C1A05 #152C08 #2E6011 #46941B

Accessibility & contrast

On white

15.05
#152C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#152C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C08
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C08#FFFFFF#000000##FFFFFF
##152C081.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2B260B
Tritanopia (blue-blind)
#142A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152c08;
/* rgb */ color: rgb(21, 44, 8);
/* oklch */ color: oklch(26.5% 0.066 136.2);
Tailwind
colors: {
  custom: {
    50: '#54654a',
    500: '#152c08',
    950: '#000000',
  },
}
SCSS
$custom: #152c08;
$custom-light: #54654a;
$custom-dark: #000000;
JSON
{
  "hex": "#152c08",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 98.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26471,
    "c": 0.06573,
    "h": 136.2
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#152C08
secondary
#52256B
accent
#3CECAC
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152C08

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

Preview Lab → · Contrast checker → · Palette generator →

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