#181D07#181D07

#181D07 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 21.9% C 0.039 H 120.2°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#181D07
RGBrgb(24, 29, 7)
HSLhsl(74, 61%, 7%)
HSVhsv(74, 76%, 11%)
CMYKcmyk(17.2%, 0%, 75.9%, 88.6%)
CIE-LABlab(9.71, -6.84, 11.50)
CIE-LCHlch(9.71, 13.38, 120.75°)
OKLaboklab(21.92% -0.0196 0.0336)
OKLCHoklch(21.92% 0.039 120.2)
XYZxyz(0.8544, 1.0883, 0.3660)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D07 #0C071D
analogous
#1D1707 #181D07 #0D1D07
triadic
#181D07 #07181D #1D0718
tetradic
#181D07 #071D17 #0C071D #1D070D
square
#181D07 #071D17 #0C071D #1D070D
split-complementary
#181D07 #070D1D #17071D
monochromatic
#141906 #141906 #181D07 #414E13 #6A801F

Accessibility & contrast

On white

17.25
#181D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#181D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D07
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D07#FFFFFF#000000##FFFFFF
##181D071.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B05
Deuteranopia (green-blind)
#1F1B08
Tritanopia (blue-blind)
#1A1B18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181d07;
/* rgb */ color: rgb(24, 29, 7);
/* oklch */ color: oklch(21.9% 0.039 120.2);
Tailwind
colors: {
  custom: {
    50: '#54584a',
    500: '#181d07',
    950: '#000000',
  },
}
SCSS
$custom: #181d07;
$custom-light: #54584a;
$custom-dark: #000000;
JSON
{
  "hex": "#181d07",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 7
  },
  "hsl": {
    "h": 73.636,
    "s": 61.111,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21924,
    "c": 0.03885,
    "h": 120.2
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#181D07
secondary
#31255B
accent
#44E468
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #181D07

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

Preview Lab → · Contrast checker → · Palette generator →

#181D07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva