#152A01#152A01

#152A01 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.7% C 0.071 H 132.8°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#152A01
RGBrgb(21, 42, 1)
HSLhsl(91, 95%, 8%)
HSVhsv(91, 98%, 16%)
CMYKcmyk(50%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.50, -16.92, 20.43)
CIE-LCHlch(14.50, 26.53, 129.63°)
OKLaboklab(25.73% -0.0479 0.0518)
OKLCHoklch(25.73% 0.071 132.8)
XYZxyz(1.1427, 1.8175, 0.3193)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A01 #16012A
analogous
#292A01 #152A01 #012A02
triadic
#152A01 #01152A #2A0115
tetradic
#152A01 #01292A #16012A #2A0201
square
#152A01 #01292A #16012A #2A0201
split-complementary
#152A01 #02012A #2A0129
monochromatic
#0F1E01 #0F1E01 #152A01 #336602 #51A204

Accessibility & contrast

On white

15.40
#152A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#152A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A01
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A01#FFFFFF#000000##FFFFFF
##152A011.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#152822
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152a01;
/* rgb */ color: rgb(21, 42, 1);
/* oklch */ color: oklch(25.7% 0.071 132.8);
Tailwind
colors: {
  custom: {
    50: '#546347',
    500: '#152a01',
    950: '#000000',
  },
}
SCSS
$custom: #152a01;
$custom-light: #546347;
$custom-dark: #000000;
JSON
{
  "hex": "#152a01",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 90.732,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25729,
    "c": 0.0706,
    "h": 132.8
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#152A01
secondary
#441670
accent
#29FF97
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #152A01

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

Preview Lab → · Contrast checker → · Palette generator →

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