#152E01#152E01

#152E01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.076 H 134.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#152E01
RGBrgb(21, 46, 1)
HSLhsl(93, 96%, 9%)
HSVhsv(93, 98%, 18%)
CMYKcmyk(54.3%, 0%, 97.8%, 82%)
CIE-LABlab(16.08, -18.97, 22.45)
CIE-LCHlch(16.08, 29.39, 130.19°)
OKLaboklab(27.03% -0.0534 0.0547)
OKLCHoklch(27.03% 0.076 134.3)
XYZxyz(1.2917, 2.1155, 0.3690)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E01 #1A012E
analogous
#2C2E01 #152E01 #012E03
triadic
#152E01 #01152E #2E0115
tetradic
#152E01 #012C2E #1A012E #2E0301
square
#152E01 #012C2E #1A012E #2E0301
split-complementary
#152E01 #03012E #2E012C
monochromatic
#0E1E01 #0E1E01 #152E01 #306A02 #4CA604

Accessibility & contrast

On white

14.76
#152E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#152E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E01
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E01#FFFFFF#000000##FFFFFF
##152E011.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2705
Tritanopia (blue-blind)
#152C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152e01;
/* rgb */ color: rgb(21, 46, 1);
/* oklch */ color: oklch(27.0% 0.076 134.3);
Tailwind
colors: {
  custom: {
    50: '#556747',
    500: '#152e01',
    950: '#000000',
  },
}
SCSS
$custom: #152e01;
$custom-light: #556747;
$custom-dark: #000000;
JSON
{
  "hex": "#152e01",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 93.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27028,
    "c": 0.07641,
    "h": 134.3
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#152E01
secondary
#4B1774
accent
#29FFA0
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152E01

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

Preview Lab → · Contrast checker → · Palette generator →

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