#152A03#152A03

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

Color values

HEX#152A03
RGBrgb(21, 42, 3)
HSLhsl(92, 87%, 9%)
HSVhsv(92, 93%, 16%)
CMYKcmyk(50%, 0%, 92.9%, 83.5%)
CIE-LABlab(14.52, -16.66, 19.65)
CIE-LCHlch(14.52, 25.76, 130.30°)
OKLaboklab(25.76% -0.0469 0.0494)
OKLCHoklch(25.76% 0.068 133.5)
XYZxyz(1.1536, 1.8219, 0.3770)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A03 #18032A
analogous
#292A03 #152A03 #032A05
triadic
#152A03 #03152A #2A0315
tetradic
#152A03 #03292A #18032A #2A0503
square
#152A03 #03292A #18032A #2A0503
split-complementary
#152A03 #05032A #2A0329
monochromatic
#0E1D02 #0E1D02 #152A03 #326307 #4E9C0B

Accessibility & contrast

On white

15.39
#152A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#152A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A03
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A03#FFFFFF#000000##FFFFFF
##152A031.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#292406
Tritanopia (blue-blind)
#152822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152a03;
/* rgb */ color: rgb(21, 42, 3);
/* oklch */ color: oklch(25.8% 0.068 133.5);
Tailwind
colors: {
  custom: {
    50: '#546348',
    500: '#152a03',
    950: '#000000',
  },
}
SCSS
$custom: #152a03;
$custom-light: #546348;
$custom-dark: #000000;
JSON
{
  "hex": "#152a03",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 92.308,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25757,
    "c": 0.06813,
    "h": 133.5
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#152A03
secondary
#481B6E
accent
#2BFD9C
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #152A03

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

Preview Lab → · Contrast checker → · Palette generator →

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