#181F05#181F05

#181F05 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.5% C 0.045 H 122.5°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#181F05
RGBrgb(24, 31, 5)
HSLhsl(76, 72%, 7%)
HSVhsv(76, 84%, 12%)
CMYKcmyk(22.6%, 0%, 83.9%, 87.8%)
CIE-LABlab(10.45, -8.45, 13.36)
CIE-LCHlch(10.45, 15.81, 122.30°)
OKLaboklab(22.51% -0.0244 0.0383)
OKLCHoklch(22.51% 0.045 122.5)
XYZxyz(0.8941, 1.1851, 0.3252)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F05 #0C051F
analogous
#1F1905 #181F05 #0B1F05
triadic
#181F05 #05181F #1F0518
tetradic
#181F05 #051F19 #0C051F #1F050B
square
#181F05 #051F19 #0C051F #1F050B
split-complementary
#181F05 #050B1F #19051F
monochromatic
#141A04 #141A04 #181F05 #41540E #6A8816

Accessibility & contrast

On white

16.98
#181F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181F05
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F05#FFFFFF#000000##FFFFFF
##181F051.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D03
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#1A1D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181f05;
/* rgb */ color: rgb(24, 31, 5);
/* oklch */ color: oklch(22.5% 0.045 122.5);
Tailwind
colors: {
  custom: {
    50: '#545a49',
    500: '#181f05',
    950: '#000000',
  },
}
SCSS
$custom: #181f05;
$custom-light: #545a49;
$custom-dark: #000000;
JSON
{
  "hex": "#181f05",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 5
  },
  "hsl": {
    "h": 76.154,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.2251,
    "c": 0.04542,
    "h": 122.5
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#181F05
secondary
#312060
accent
#39EF6A
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030300
muted
#787877

Preview Lab

Preview with #181F05

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

Preview Lab → · Contrast checker → · Palette generator →

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