#151F06#151F06

#151F06 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.3% C 0.046 H 127.7°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#151F06
RGBrgb(21, 31, 6)
HSLhsl(84, 68%, 7%)
HSVhsv(84, 81%, 12%)
CMYKcmyk(32.3%, 0%, 80.6%, 87.8%)
CIE-LABlab(10.20, -9.89, 12.57)
CIE-LCHlch(10.20, 15.99, 128.19°)
OKLaboklab(22.25% -0.028 0.0362)
OKLCHoklch(22.25% 0.046 127.7)
XYZxyz(0.8321, 1.1525, 0.3509)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151F06 #10061F
analogous
#1F1D06 #151F06 #091F06
triadic
#151F06 #06151F #1F0615
tetradic
#151F06 #061F1D #10061F #1F0609
square
#151F06 #061F1D #10061F #1F0609
split-complementary
#151F06 #06091F #1D061F
monochromatic
#111A05 #111A05 #151F06 #385210 #5A861A

Accessibility & contrast

On white

17.06
#151F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151F06
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151F06#FFFFFF#000000##FFFFFF
##151F061.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C04
Deuteranopia (green-blind)
#201C07
Tritanopia (blue-blind)
#161D1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #151f06;
/* rgb */ color: rgb(21, 31, 6);
/* oklch */ color: oklch(22.3% 0.046 127.7);
Tailwind
colors: {
  custom: {
    50: '#525a49',
    500: '#151f06',
    950: '#000000',
  },
}
SCSS
$custom: #151f06;
$custom-light: #525a49;
$custom-dark: #000000;
JSON
{
  "hex": "#151f06",
  "rgb": {
    "r": 21,
    "g": 31,
    "b": 6
  },
  "hsl": {
    "h": 84,
    "s": 67.568,
    "l": 7.255
  },
  "oklch": {
    "l": 0.2225,
    "c": 0.04572,
    "h": 127.7
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#151F06
secondary
#3A225F
accent
#3DEA83
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #151F06

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

Preview Lab → · Contrast checker → · Palette generator →

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