#152803#152803

#152803 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.1% C 0.065 H 132.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#152803
RGBrgb(21, 40, 3)
HSLhsl(91, 86%, 8%)
HSVhsv(91, 93%, 16%)
CMYKcmyk(47.5%, 0%, 92.5%, 84.3%)
CIE-LABlab(13.73, -15.58, 18.61)
CIE-LCHlch(13.73, 24.27, 129.94°)
OKLaboklab(25.11% -0.044 0.0478)
OKLCHoklch(25.11% 0.065 132.6)
XYZxyz(1.0845, 1.6835, 0.3539)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152803 #160328
analogous
#272803 #152803 #032803
triadic
#152803 #031528 #280315
tetradic
#152803 #032728 #160328 #280303
square
#152803 #032728 #160328 #280303
split-complementary
#152803 #030328 #280327
monochromatic
#0F1C02 #0F1C02 #152803 #336107 #519A0C

Accessibility & contrast

On white

15.71
#152803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#152803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152803
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152803#FFFFFF#000000##FFFFFF
##1528031.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#282306
Tritanopia (blue-blind)
#152621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #152803;
/* rgb */ color: rgb(21, 40, 3);
/* oklch */ color: oklch(25.1% 0.065 132.6);
Tailwind
colors: {
  custom: {
    50: '#536248',
    500: '#152803',
    950: '#000000',
  },
}
SCSS
$custom: #152803;
$custom-light: #536248;
$custom-dark: #000000;
JSON
{
  "hex": "#152803",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 90.811,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25108,
    "c": 0.06502,
    "h": 132.6
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#152803
secondary
#441B6C
accent
#2CFC97
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #152803

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

Preview Lab → · Contrast checker → · Palette generator →

#152803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva