#151F03#151F03

#151F03 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 22.2% C 0.050 H 126.3°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#151F03
RGBrgb(21, 31, 3)
HSLhsl(81, 82%, 7%)
HSVhsv(81, 90%, 12%)
CMYKcmyk(32.3%, 0%, 90.3%, 87.8%)
CIE-LABlab(10.15, -10.35, 13.72)
CIE-LCHlch(10.15, 17.19, 127.02°)
OKLaboklab(22.19% -0.0298 0.0407)
OKLCHoklch(22.19% 0.05 126.3)
XYZxyz(0.8157, 1.1460, 0.2643)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F03 #0D031F
analogous
#1F1B03 #151F03 #071F03
triadic
#151F03 #03151F #1F0315
tetradic
#151F03 #031F1B #0D031F #1F0307
square
#151F03 #031F1B #0D031F #1F0307
split-complementary
#151F03 #03071F #1B031F
monochromatic
#131C03 #131C03 #151F03 #3B5708 #618F0E

Accessibility & contrast

On white

17.08
#151F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#151F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151F03
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F03#FFFFFF#000000##FFFFFF
##151F031.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C01
Deuteranopia (green-blind)
#201C05
Tritanopia (blue-blind)
#161D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151f03;
/* rgb */ color: rgb(21, 31, 3);
/* oklch */ color: oklch(22.2% 0.050 126.3);
Tailwind
colors: {
  custom: {
    50: '#525a48',
    500: '#151f03',
    950: '#000000',
  },
}
SCSS
$custom: #151f03;
$custom-light: #525a48;
$custom-dark: #000000;
JSON
{
  "hex": "#151f03",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 81.429,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22194,
    "c": 0.05045,
    "h": 126.3
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#151F03
secondary
#351B63
accent
#2FF977
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #151F03

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

Preview Lab → · Contrast checker → · Palette generator →

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