#152D01#152D01

#152D01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.075 H 134.0°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#152D01
RGBrgb(21, 45, 1)
HSLhsl(93, 96%, 9%)
HSVhsv(93, 98%, 18%)
CMYKcmyk(53.3%, 0%, 97.8%, 82.4%)
CIE-LABlab(15.69, -18.46, 21.95)
CIE-LCHlch(15.69, 28.68, 130.06°)
OKLaboklab(26.7% -0.0521 0.0539)
OKLCHoklch(26.7% 0.075 134)
XYZxyz(1.2531, 2.0383, 0.3561)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D01 #19012D
analogous
#2B2D01 #152D01 #012D03
triadic
#152D01 #01152D #2D0115
tetradic
#152D01 #012B2D #19012D #2D0301
square
#152D01 #012B2D #19012D #2D0301
split-complementary
#152D01 #03012D #2D012B
monochromatic
#0E1E01 #0E1E01 #152D01 #316902 #4DA504

Accessibility & contrast

On white

14.92
#152D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D01
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D01#FFFFFF#000000##FFFFFF
##152D011.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#152B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d01;
/* rgb */ color: rgb(21, 45, 1);
/* oklch */ color: oklch(26.7% 0.075 134.0);
Tailwind
colors: {
  custom: {
    50: '#546647',
    500: '#152d01',
    950: '#000000',
  },
}
SCSS
$custom: #152d01;
$custom-light: #546647;
$custom-dark: #000000;
JSON
{
  "hex": "#152d01",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 92.727,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26703,
    "c": 0.07497,
    "h": 134
  },
  "luminance": 0.02038
}

Semantic roles & 50–950 ramp

primary
#152D01
secondary
#491773
accent
#29FF9E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152D01

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

Preview Lab → · Contrast checker → · Palette generator →

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