#151E04#151E04

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

Color values

HEX#151E04
RGBrgb(21, 30, 4)
HSLhsl(81, 76%, 7%)
HSVhsv(81, 87%, 12%)
CMYKcmyk(30%, 0%, 86.7%, 88.2%)
CIE-LABlab(9.77, -9.54, 12.78)
CIE-LCHlch(9.77, 15.94, 126.73°)
OKLaboklab(21.89% -0.0275 0.0383)
OKLCHoklch(21.89% 0.047 125.7)
XYZxyz(0.7955, 1.0967, 0.2846)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E04 #0D041E
analogous
#1E1A04 #151E04 #081E04
triadic
#151E04 #04151E #1E0415
tetradic
#151E04 #041E1A #0D041E #1E0408
square
#151E04 #041E1A #0D041E #1E0408
split-complementary
#151E04 #04081E #1A041E
monochromatic
#131B04 #131B04 #151E04 #3B540B #618A12

Accessibility & contrast

On white

17.22
#151E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E04
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E04#FFFFFF#000000##FFFFFF
##151E041.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B02
Deuteranopia (green-blind)
#1F1B05
Tritanopia (blue-blind)
#161C18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #151e04;
/* rgb */ color: rgb(21, 30, 4);
/* oklch */ color: oklch(21.9% 0.047 125.7);
Tailwind
colors: {
  custom: {
    50: '#525948',
    500: '#151e04',
    950: '#000000',
  },
}
SCSS
$custom: #151e04;
$custom-light: #525948;
$custom-dark: #000000;
JSON
{
  "hex": "#151e04",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 4
  },
  "hsl": {
    "h": 80.769,
    "s": 76.471,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21891,
    "c": 0.04711,
    "h": 125.7
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#151E04
secondary
#351D61
accent
#35F377
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151E04

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

Preview Lab → · Contrast checker → · Palette generator →

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