#152C01#152C01

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

Color values

HEX#152C01
RGBrgb(21, 44, 1)
HSLhsl(92, 96%, 9%)
HSVhsv(92, 98%, 17%)
CMYKcmyk(52.3%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.29, -17.95, 21.45)
CIE-LCHlch(15.29, 27.97, 129.93°)
OKLaboklab(26.38% -0.0507 0.0532)
OKLCHoklch(26.38% 0.074 133.6)
XYZxyz(1.2154, 1.9629, 0.3436)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C01 #18012C
analogous
#2B2C01 #152C01 #012C03
triadic
#152C01 #01152C #2C0115
tetradic
#152C01 #012B2C #18012C #2C0301
square
#152C01 #012B2C #18012C #2C0301
split-complementary
#152C01 #03012C #2C012B
monochromatic
#0E1E01 #0E1E01 #152C01 #326802 #4EA404

Accessibility & contrast

On white

15.08
#152C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C01
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C01#FFFFFF#000000##FFFFFF
##152C011.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152c01;
/* rgb */ color: rgb(21, 44, 1);
/* oklch */ color: oklch(26.4% 0.074 133.6);
Tailwind
colors: {
  custom: {
    50: '#546547',
    500: '#152c01',
    950: '#000000',
  },
}
SCSS
$custom: #152c01;
$custom-light: #546547;
$custom-dark: #000000;
JSON
{
  "hex": "#152c01",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 92.093,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26379,
    "c": 0.07353,
    "h": 133.6
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#152C01
secondary
#481772
accent
#29FF9B
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152C01

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

Preview Lab → · Contrast checker → · Palette generator →

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