#152B01#152B01

#152B01 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.072 H 133.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#152B01
RGBrgb(21, 43, 1)
HSLhsl(91, 95%, 9%)
HSVhsv(91, 98%, 17%)
CMYKcmyk(51.2%, 0%, 97.7%, 83.1%)
CIE-LABlab(14.90, -17.44, 20.94)
CIE-LCHlch(14.90, 27.25, 129.78°)
OKLaboklab(26.05% -0.0493 0.0525)
OKLCHoklch(26.05% 0.072 133.2)
XYZxyz(1.1786, 1.8893, 0.3313)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B01 #17012B
analogous
#2A2B01 #152B01 #012B02
triadic
#152B01 #01152B #2B0115
tetradic
#152B01 #012A2B #17012B #2B0201
square
#152B01 #012A2B #17012B #2B0201
split-complementary
#152B01 #02012B #2B012A
monochromatic
#0F1E01 #0F1E01 #152B01 #326702 #4FA304

Accessibility & contrast

On white

15.24
#152B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#152B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B01
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B01#FFFFFF#000000##FFFFFF
##152B011.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2A2504
Tritanopia (blue-blind)
#152923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152b01;
/* rgb */ color: rgb(21, 43, 1);
/* oklch */ color: oklch(26.1% 0.072 133.2);
Tailwind
colors: {
  custom: {
    50: '#546447',
    500: '#152b01',
    950: '#000000',
  },
}
SCSS
$custom: #152b01;
$custom-light: #546447;
$custom-dark: #000000;
JSON
{
  "hex": "#152b01",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 91.429,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.07207,
    "h": 133.2
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#152B01
secondary
#461771
accent
#29FF99
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152B01

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

Preview Lab → · Contrast checker → · Palette generator →

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