#152A09#152A09

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

Color values

HEX#152A09
RGBrgb(21, 42, 9)
HSLhsl(98, 65%, 10%)
HSVhsv(98, 79%, 16%)
CMYKcmyk(50%, 0%, 78.6%, 83.5%)
CIE-LABlab(14.60, -15.89, 17.30)
CIE-LCHlch(14.60, 23.49, 132.58°)
OKLaboklab(25.84% -0.0441 0.0426)
OKLCHoklch(25.84% 0.061 136)
XYZxyz(1.1865, 1.8350, 0.5501)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A09 #1E092A
analogous
#252A09 #152A09 #092A0E
triadic
#152A09 #09152A #2A0915
tetradic
#152A09 #09252A #1E092A #2A0E09
square
#152A09 #09252A #1E092A #2A0E09
split-complementary
#152A09 #0E092A #2A0925
monochromatic
#0D1905 #0D1905 #152A09 #2E5C14 #478F1F

Accessibility & contrast

On white

15.36
#152A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A09
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A09#FFFFFF#000000##FFFFFF
##152A091.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152a09;
/* rgb */ color: rgb(21, 42, 9);
/* oklch */ color: oklch(25.8% 0.061 136.0);
Tailwind
colors: {
  custom: {
    50: '#54634b',
    500: '#152a09',
    950: '#000000',
  },
}
SCSS
$custom: #152a09;
$custom-light: #54634b;
$custom-dark: #000000;
JSON
{
  "hex": "#152a09",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 98.182,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.2584,
    "c": 0.06133,
    "h": 136
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#152A09
secondary
#502768
accent
#40E8AB
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #152A09

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

Preview Lab → · Contrast checker → · Palette generator →

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