#181F06#181F06

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

Color values

HEX#181F06
RGBrgb(24, 31, 6)
HSLhsl(77, 68%, 7%)
HSVhsv(77, 81%, 12%)
CMYKcmyk(22.6%, 0%, 80.6%, 87.8%)
CIE-LABlab(10.46, -8.30, 12.98)
CIE-LCHlch(10.46, 15.40, 122.61°)
OKLaboklab(22.53% -0.0238 0.0369)
OKLCHoklch(22.53% 0.044 122.9)
XYZxyz(0.8996, 1.1873, 0.3540)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F06 #0D061F
analogous
#1F1A06 #181F06 #0C1F06
triadic
#181F06 #06181F #1F0618
tetradic
#181F06 #061F1A #0D061F #1F060C
square
#181F06 #061F1A #0D061F #1F060C
split-complementary
#181F06 #060C1F #1A061F
monochromatic
#141A05 #141A05 #181F06 #405210 #67861A

Accessibility & contrast

On white

16.97
#181F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181F06
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F06#FFFFFF#000000##FFFFFF
##181F061.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D04
Deuteranopia (green-blind)
#201C07
Tritanopia (blue-blind)
#1A1D1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181f06;
/* rgb */ color: rgb(24, 31, 6);
/* oklch */ color: oklch(22.5% 0.044 122.9);
Tailwind
colors: {
  custom: {
    50: '#545a49',
    500: '#181f06',
    950: '#000000',
  },
}
SCSS
$custom: #181f06;
$custom-light: #545a49;
$custom-dark: #000000;
JSON
{
  "hex": "#181f06",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 6
  },
  "hsl": {
    "h": 76.8,
    "s": 67.568,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22528,
    "c": 0.04389,
    "h": 122.9
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#181F06
secondary
#33225F
accent
#3DEA6E
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030300
muted
#787877

Preview Lab

Preview with #181F06

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

Preview Lab → · Contrast checker → · Palette generator →

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