#152A08#152A08

#152A08 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.062 H 135.5°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#152A08
RGBrgb(21, 42, 8)
HSLhsl(97, 68%, 10%)
HSVhsv(97, 81%, 16%)
CMYKcmyk(50%, 0%, 81%, 83.5%)
CIE-LABlab(14.58, -16.02, 17.69)
CIE-LCHlch(14.58, 23.87, 132.16°)
OKLaboklab(25.83% -0.0445 0.0437)
OKLCHoklch(25.83% 0.062 135.5)
XYZxyz(1.1810, 1.8328, 0.5212)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A08 #1D082A
analogous
#262A08 #152A08 #082A0C
triadic
#152A08 #08152A #2A0815
tetradic
#152A08 #08262A #1D082A #2A0C08
square
#152A08 #08262A #1D082A #2A0C08
split-complementary
#152A08 #0C082A #2A0826
monochromatic
#0D1A05 #0D1A05 #152A08 #2F5D12 #48911C

Accessibility & contrast

On white

15.37
#152A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#152A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A08
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A08#FFFFFF#000000##FFFFFF
##152A081.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2605
Deuteranopia (green-blind)
#29240B
Tritanopia (blue-blind)
#142823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152a08;
/* rgb */ color: rgb(21, 42, 8);
/* oklch */ color: oklch(25.8% 0.062 135.5);
Tailwind
colors: {
  custom: {
    50: '#54634a',
    500: '#152a08',
    950: '#000000',
  },
}
SCSS
$custom: #152a08;
$custom-light: #54634a;
$custom-dark: #000000;
JSON
{
  "hex": "#152a08",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 97.059,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25826,
    "c": 0.0624,
    "h": 135.5
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#152A08
secondary
#4F2569
accent
#3DEBA8
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #152A08

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

Preview Lab → · Contrast checker → · Palette generator →

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