#152D03#152D03

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

Color values

HEX#152D03
RGBrgb(21, 45, 3)
HSLhsl(94, 88%, 9%)
HSVhsv(94, 93%, 18%)
CMYKcmyk(53.3%, 0%, 93.3%, 82.4%)
CIE-LABlab(15.71, -18.22, 21.17)
CIE-LCHlch(15.71, 27.93, 130.72°)
OKLaboklab(26.73% -0.0511 0.0517)
OKLCHoklch(26.73% 0.073 134.7)
XYZxyz(1.2641, 2.0427, 0.4138)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D03 #1B032D
analogous
#2A2D03 #152D03 #032D06
triadic
#152D03 #03152D #2D0315
tetradic
#152D03 #032A2D #1B032D #2D0603
square
#152D03 #032A2D #1B032D #2D0603
split-complementary
#152D03 #06032D #2D032A
monochromatic
#0D1D02 #0D1D02 #152D03 #306607 #4BA00B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152D03#FFFFFF#000000##FFFFFF
##152D031.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)
#2C2606
Tritanopia (blue-blind)
#142B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d03;
/* rgb */ color: rgb(21, 45, 3);
/* oklch */ color: oklch(26.7% 0.073 134.7);
Tailwind
colors: {
  custom: {
    50: '#546648',
    500: '#152d03',
    950: '#000000',
  },
}
SCSS
$custom: #152d03;
$custom-light: #546648;
$custom-dark: #000000;
JSON
{
  "hex": "#152d03",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 94.286,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26729,
    "c": 0.07269,
    "h": 134.7
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#152D03
secondary
#4C1B71
accent
#2AFEA3
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152D03

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

Preview Lab → · Contrast checker → · Palette generator →

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