#152F03#152F03

#152F03 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.076 H 135.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#152F03
RGBrgb(21, 47, 3)
HSLhsl(95, 88%, 10%)
HSVhsv(95, 94%, 18%)
CMYKcmyk(55.3%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.50, -19.23, 22.16)
CIE-LCHlch(16.50, 29.33, 130.95°)
OKLaboklab(27.38% -0.0538 0.0532)
OKLCHoklch(27.38% 0.076 135.3)
XYZxyz(1.3422, 2.1990, 0.4398)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F03 #1D032F
analogous
#2B2F03 #152F03 #032F07
triadic
#152F03 #03152F #2F0315
tetradic
#152F03 #032B2F #1D032F #2F0703
square
#152F03 #032B2F #1D032F #2F0703
split-complementary
#152F03 #07032F #2F032B
monochromatic
#0D1D02 #0D1D02 #152F03 #2F6907 #48A20A

Accessibility & contrast

On white

14.59
#152F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F03
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F03#FFFFFF#000000##FFFFFF
##152F031.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2E2807
Tritanopia (blue-blind)
#142D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f03;
/* rgb */ color: rgb(21, 47, 3);
/* oklch */ color: oklch(27.4% 0.076 135.3);
Tailwind
colors: {
  custom: {
    50: '#556848',
    500: '#152f03',
    950: '#000000',
  },
}
SCSS
$custom: #152f03;
$custom-light: #556848;
$custom-dark: #000000;
JSON
{
  "hex": "#152f03",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 95.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27377,
    "c": 0.07567,
    "h": 135.3
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#152F03
secondary
#4F1B73
accent
#2AFEA7
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152F03

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

Preview Lab → · Contrast checker → · Palette generator →

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