#151E02#151E02

#151E02 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 21.9% C 0.051 H 124.8°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#151E02
RGBrgb(21, 30, 2)
HSLhsl(79, 88%, 6%)
HSVhsv(79, 93%, 12%)
CMYKcmyk(30%, 0%, 93.3%, 88.2%)
CIE-LABlab(9.74, -9.84, 13.54)
CIE-LCHlch(9.74, 16.74, 125.99°)
OKLaboklab(21.85% -0.0288 0.0415)
OKLCHoklch(21.85% 0.051 124.8)
XYZxyz(0.7845, 1.0923, 0.2269)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E02 #0B021E
analogous
#1E1902 #151E02 #071E02
triadic
#151E02 #02151E #1E0215
tetradic
#151E02 #021E19 #0B021E #1E0207
square
#151E02 #021E19 #0B021E #1E0207
split-complementary
#151E02 #02071E #19021E
monochromatic
#141D02 #141D02 #151E02 #3D5706 #65910A

Accessibility & contrast

On white

17.24
#151E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#151E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E02
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E02#FFFFFF#000000##FFFFFF
##151E021.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B00
Deuteranopia (green-blind)
#1F1B03
Tritanopia (blue-blind)
#171C18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151e02;
/* rgb */ color: rgb(21, 30, 2);
/* oklch */ color: oklch(21.9% 0.051 124.8);
Tailwind
colors: {
  custom: {
    50: '#515947',
    500: '#151e02',
    950: '#000000',
  },
}
SCSS
$custom: #151e02;
$custom-light: #515947;
$custom-dark: #000000;
JSON
{
  "hex": "#151e02",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 2
  },
  "hsl": {
    "h": 79.286,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.21853,
    "c": 0.0505,
    "h": 124.8
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#151E02
secondary
#301864
accent
#2AFE6E
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151E02

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

Preview Lab → · Contrast checker → · Palette generator →

#151E02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva