#152A06#152A06

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

Color values

HEX#152A06
RGBrgb(21, 42, 6)
HSLhsl(95, 75%, 9%)
HSVhsv(95, 86%, 16%)
CMYKcmyk(50%, 0%, 85.7%, 83.5%)
CIE-LABlab(14.56, -16.27, 18.47)
CIE-LCHlch(14.56, 24.62, 131.37°)
OKLaboklab(25.8% -0.0454 0.0459)
OKLCHoklch(25.8% 0.065 134.7)
XYZxyz(1.1701, 1.8284, 0.4635)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A06 #1B062A
analogous
#272A06 #152A06 #062A09
triadic
#152A06 #06152A #2A0615
tetradic
#152A06 #06272A #1B062A #2A0906
square
#152A06 #06272A #1B062A #2A0906
split-complementary
#152A06 #09062A #2A0627
monochromatic
#0D1B04 #0D1B04 #152A06 #30600E #4B9515

Accessibility & contrast

On white

15.38
#152A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A06
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A06#FFFFFF#000000##FFFFFF
##152A061.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#152823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152a06;
/* rgb */ color: rgb(21, 42, 6);
/* oklch */ color: oklch(25.8% 0.065 134.7);
Tailwind
colors: {
  custom: {
    50: '#546349',
    500: '#152a06',
    950: '#000000',
  },
}
SCSS
$custom: #152a06;
$custom-light: #546349;
$custom-dark: #000000;
JSON
{
  "hex": "#152a06",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 95,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25798,
    "c": 0.06462,
    "h": 134.7
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#152A06
secondary
#4C216B
accent
#36F2A4
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #152A06

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

Preview Lab → · Contrast checker → · Palette generator →

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