#152901#152901

#152901 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.4% C 0.069 H 132.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#152901
RGBrgb(21, 41, 1)
HSLhsl(90, 95%, 8%)
HSVhsv(90, 98%, 16%)
CMYKcmyk(48.8%, 0%, 97.6%, 83.9%)
CIE-LABlab(14.10, -16.39, 19.91)
CIE-LCHlch(14.10, 25.79, 129.45°)
OKLaboklab(25.4% -0.0465 0.0511)
OKLCHoklch(25.4% 0.069 132.3)
XYZxyz(1.1077, 1.7474, 0.3076)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152901 #150129
analogous
#292901 #152901 #012901
triadic
#152901 #011529 #290115
tetradic
#152901 #012929 #150129 #290101
square
#152901 #012929 #150129 #290101
split-complementary
#152901 #010129 #290129
monochromatic
#0F1E01 #0F1E01 #152901 #346502 #52A004

Accessibility & contrast

On white

15.56
#152901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#152901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152901
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152901#FFFFFF#000000##FFFFFF
##1529011.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#292304
Tritanopia (blue-blind)
#152721
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #152901;
/* rgb */ color: rgb(21, 41, 1);
/* oklch */ color: oklch(25.4% 0.069 132.3);
Tailwind
colors: {
  custom: {
    50: '#536347',
    500: '#152901',
    950: '#000000',
  },
}
SCSS
$custom: #152901;
$custom-light: #536347;
$custom-dark: #000000;
JSON
{
  "hex": "#152901",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 90,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25404,
    "c": 0.06912,
    "h": 132.3
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#152901
secondary
#43166F
accent
#29FF94
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #152901

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

Preview Lab → · Contrast checker → · Palette generator →

#152901 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva