#152D02#152D02

#152D02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.074 H 134.3°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#152D02
RGBrgb(21, 45, 2)
HSLhsl(93, 91%, 9%)
HSVhsv(93, 96%, 18%)
CMYKcmyk(53.3%, 0%, 95.6%, 82.4%)
CIE-LABlab(15.70, -18.34, 21.56)
CIE-LCHlch(15.70, 28.30, 130.39°)
OKLaboklab(26.72% -0.0516 0.0528)
OKLCHoklch(26.72% 0.074 134.3)
XYZxyz(1.2586, 2.0405, 0.3850)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D02 #1A022D
analogous
#2B2D02 #152D02 #022D04
triadic
#152D02 #02152D #2D0215
tetradic
#152D02 #022B2D #1A022D #2D0402
square
#152D02 #022B2D #1A022D #2D0402
split-complementary
#152D02 #04022D #2D022B
monochromatic
#0E1D01 #0E1D01 #152D02 #306805 #4CA207

Accessibility & contrast

On white

14.91
#152D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D02
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D02#FFFFFF#000000##FFFFFF
##152D021.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2605
Tritanopia (blue-blind)
#152B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d02;
/* rgb */ color: rgb(21, 45, 2);
/* oklch */ color: oklch(26.7% 0.074 134.3);
Tailwind
colors: {
  custom: {
    50: '#546648',
    500: '#152d02',
    950: '#000000',
  },
}
SCSS
$custom: #152d02;
$custom-light: #546648;
$custom-dark: #000000;
JSON
{
  "hex": "#152d02",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 93.488,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26716,
    "c": 0.07382,
    "h": 134.3
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#152D02
secondary
#4B1972
accent
#29FFA0
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152D02

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

Preview Lab → · Contrast checker → · Palette generator →

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