#181F00#181F00

#181F00 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.054 H 121.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#181F00
RGBrgb(24, 31, 0)
HSLhsl(74, 100%, 6%)
HSVhsv(74, 100%, 12%)
CMYKcmyk(22.6%, 0%, 100%, 87.8%)
CIE-LABlab(10.37, -9.19, 15.28)
CIE-LCHlch(10.37, 17.83, 121.01°)
OKLaboklab(22.42% -0.0277 0.0461)
OKLCHoklch(22.42% 0.054 121)
XYZxyz(0.8667, 1.1742, 0.1810)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F00 #07001F
analogous
#1F1600 #181F00 #081F00
triadic
#181F00 #00181F #1F0018
tetradic
#181F00 #001F16 #07001F #1F0008
square
#181F00 #001F16 #07001F #1F0008
split-complementary
#181F00 #00081F #16001F
monochromatic
#181F00 #181F00 #181F00 #475C00 #779900

Accessibility & contrast

On white

17.01
#181F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181F00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181F00
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F00#FFFFFF#000000##FFFFFF
##181F001.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221C00
Deuteranopia (green-blind)
#211C02
Tritanopia (blue-blind)
#1A1D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181f00;
/* rgb */ color: rgb(24, 31, 0);
/* oklch */ color: oklch(22.4% 0.054 121.0);
Tailwind
colors: {
  custom: {
    50: '#545a46',
    500: '#181f00',
    950: '#000000',
  },
}
SCSS
$custom: #181f00;
$custom-light: #545a46;
$custom-dark: #000000;
JSON
{
  "hex": "#181f00",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 73.548,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.22418,
    "c": 0.05376,
    "h": 121
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#181F00
secondary
#261268
accent
#29FF59
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#030300
muted
#787877

Preview Lab

Preview with #181F00

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

Preview Lab → · Contrast checker → · Palette generator →

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