#152C03#152C03

#152C03 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.071 H 134.3°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#152C03
RGBrgb(21, 44, 3)
HSLhsl(94, 87%, 9%)
HSVhsv(94, 93%, 17%)
CMYKcmyk(52.3%, 0%, 93.2%, 82.7%)
CIE-LABlab(15.31, -17.70, 20.67)
CIE-LCHlch(15.31, 27.21, 130.58°)
OKLaboklab(26.41% -0.0497 0.0509)
OKLCHoklch(26.41% 0.071 134.3)
XYZxyz(1.2264, 1.9673, 0.4012)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C03 #1A032C
analogous
#2A2C03 #152C03 #032C06
triadic
#152C03 #03152C #2C0315
tetradic
#152C03 #032A2C #1A032C #2C0603
square
#152C03 #032A2C #1A032C #2C0603
split-complementary
#152C03 #06032C #2C032A
monochromatic
#0E1D02 #0E1D02 #152C03 #306507 #4C9F0B

Accessibility & contrast

On white

15.07
#152C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#152C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C03
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C03#FFFFFF#000000##FFFFFF
##152C031.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#152A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152c03;
/* rgb */ color: rgb(21, 44, 3);
/* oklch */ color: oklch(26.4% 0.071 134.3);
Tailwind
colors: {
  custom: {
    50: '#546548',
    500: '#152c03',
    950: '#000000',
  },
}
SCSS
$custom: #152c03;
$custom-light: #546548;
$custom-dark: #000000;
JSON
{
  "hex": "#152c03",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 93.659,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26405,
    "c": 0.07118,
    "h": 134.3
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#152C03
secondary
#4B1B70
accent
#2AFDA1
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152C03

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

Preview Lab → · Contrast checker → · Palette generator →

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