#151A07#151A07

#151A07 is a very dark, muted yellow-green. Relative luminance 0.009; OKLCH L 20.7% C 0.035 H 121.5°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#151A07
RGBrgb(21, 26, 7)
HSLhsl(76, 58%, 6%)
HSVhsv(76, 73%, 10%)
CMYKcmyk(19.2%, 0%, 73.1%, 89.8%)
CIE-LABlab(8.25, -6.19, 9.37)
CIE-LCHlch(8.25, 11.23, 123.45°)
OKLaboklab(20.68% -0.0183 0.0298)
OKLCHoklch(20.68% 0.035 121.5)
XYZxyz(0.7170, 0.9136, 0.3395)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A07 #0C071A
analogous
#1A1607 #151A07 #0C1A07
triadic
#151A07 #07151A #1A0715
tetradic
#151A07 #071A16 #0C071A #1A070C
square
#151A07 #071A16 #0C071A #1A070C
split-complementary
#151A07 #070C1A #16071A
monochromatic
#131806 #131806 #151A07 #3C4A14 #637A21

Accessibility & contrast

On white

17.75
#151A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#151A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A07
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A07#FFFFFF#000000##FFFFFF
##151A071.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1806
Deuteranopia (green-blind)
#1B1808
Tritanopia (blue-blind)
#161816
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #151a07;
/* rgb */ color: rgb(21, 26, 7);
/* oklch */ color: oklch(20.7% 0.035 121.5);
Tailwind
colors: {
  custom: {
    50: '#51564a',
    500: '#151a07',
    950: '#000000',
  },
}
SCSS
$custom: #151a07;
$custom-light: #51564a;
$custom-dark: #000000;
JSON
{
  "hex": "#151a07",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 7
  },
  "hsl": {
    "h": 75.789,
    "s": 57.576,
    "l": 6.471
  },
  "oklch": {
    "l": 0.20681,
    "c": 0.03495,
    "h": 121.5
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#151A07
secondary
#322558
accent
#47E16F
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #151A07

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

Preview Lab → · Contrast checker → · Palette generator →

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