#151D02#151D02

#151D02 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.5% C 0.049 H 123.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#151D02
RGBrgb(21, 29, 2)
HSLhsl(78, 87%, 6%)
HSVhsv(78, 93%, 11%)
CMYKcmyk(27.6%, 0%, 93.1%, 88.6%)
CIE-LABlab(9.34, -9.14, 12.98)
CIE-LCHlch(9.34, 15.88, 125.17°)
OKLaboklab(21.53% -0.0271 0.0407)
OKLCHoklch(21.53% 0.049 123.6)
XYZxyz(0.7596, 1.0425, 0.2186)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151D02 #0A021D
analogous
#1D1702 #151D02 #071D02
triadic
#151D02 #02151D #1D0215
tetradic
#151D02 #021D17 #0A021D #1D0207
square
#151D02 #021D17 #0A021D #1D0207
split-complementary
#151D02 #02071D #17021D
monochromatic
#151D02 #151D02 #151D02 #3E5606 #68900A

Accessibility & contrast

On white

17.38
#151D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#151D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151D02
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151D02#FFFFFF#000000##FFFFFF
##151D021.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#1E1A03
Tritanopia (blue-blind)
#171B17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #151d02;
/* rgb */ color: rgb(21, 29, 2);
/* oklch */ color: oklch(21.5% 0.049 123.6);
Tailwind
colors: {
  custom: {
    50: '#515947',
    500: '#151d02',
    950: '#000000',
  },
}
SCSS
$custom: #151d02;
$custom-light: #515947;
$custom-dark: #000000;
JSON
{
  "hex": "#151d02",
  "rgb": {
    "r": 21,
    "g": 29,
    "b": 2
  },
  "hsl": {
    "h": 77.778,
    "s": 87.097,
    "l": 6.078
  },
  "oklch": {
    "l": 0.21531,
    "c": 0.04889,
    "h": 123.6
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#151D02
secondary
#2E1863
accent
#2BFD69
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151D02

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

Preview Lab → · Contrast checker → · Palette generator →

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