#152D06#152D06

#152D06 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.069 H 135.7°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#152D06
RGBrgb(21, 45, 6)
HSLhsl(97, 76%, 10%)
HSVhsv(97, 87%, 18%)
CMYKcmyk(53.3%, 0%, 86.7%, 82.4%)
CIE-LABlab(15.74, -17.85, 19.99)
CIE-LCHlch(15.74, 26.80, 131.77°)
OKLaboklab(26.77% -0.0497 0.0485)
OKLCHoklch(26.77% 0.069 135.7)
XYZxyz(1.2805, 2.0493, 0.5003)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D06 #1E062D
analogous
#292D06 #152D06 #062D0A
triadic
#152D06 #06152D #2D0615
tetradic
#152D06 #06292D #1E062D #2D0A06
square
#152D06 #06292D #1E062D #2D0A06
split-complementary
#152D06 #0A062D #2D0629
monochromatic
#0D1B04 #0D1B04 #152D06 #2E630D #479914

Accessibility & contrast

On white

14.90
#152D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D06
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D06#FFFFFF#000000##FFFFFF
##152D061.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152d06;
/* rgb */ color: rgb(21, 45, 6);
/* oklch */ color: oklch(26.8% 0.069 135.7);
Tailwind
colors: {
  custom: {
    50: '#546649',
    500: '#152d06',
    950: '#000000',
  },
}
SCSS
$custom: #152d06;
$custom-light: #546649;
$custom-dark: #000000;
JSON
{
  "hex": "#152d06",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 96.923,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.06943,
    "h": 135.7
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#152D06
secondary
#50216E
accent
#35F3AA
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152D06

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

Preview Lab → · Contrast checker → · Palette generator →

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