#181F01#181F01

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

Color values

HEX#181F01
RGBrgb(24, 31, 1)
HSLhsl(74, 94%, 6%)
HSVhsv(74, 97%, 12%)
CMYKcmyk(22.6%, 0%, 96.8%, 87.8%)
CIE-LABlab(10.38, -9.04, 14.90)
CIE-LCHlch(10.38, 17.43, 121.24°)
OKLaboklab(22.44% -0.027 0.0445)
OKLCHoklch(22.44% 0.052 121.2)
XYZxyz(0.8722, 1.1764, 0.2098)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F01 #08011F
analogous
#1F1701 #181F01 #091F01
triadic
#181F01 #01181F #1F0118
tetradic
#181F01 #011F17 #08011F #1F0109
square
#181F01 #011F17 #08011F #1F0109
split-complementary
#181F01 #01091F #17011F
monochromatic
#171E01 #171E01 #181F01 #465A03 #749605

Accessibility & contrast

On white

17.00
#181F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181F01
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F01#FFFFFF#000000##FFFFFF
##181F011.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181f01;
/* rgb */ color: rgb(24, 31, 1);
/* oklch */ color: oklch(22.4% 0.052 121.2);
Tailwind
colors: {
  custom: {
    50: '#545a47',
    500: '#181f01',
    950: '#000000',
  },
}
SCSS
$custom: #181f01;
$custom-light: #545a47;
$custom-dark: #000000;
JSON
{
  "hex": "#181f01",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 74,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.22436,
    "c": 0.05199,
    "h": 121.2
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#181F01
secondary
#281567
accent
#29FF5B
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#030300
muted
#787877

Preview Lab

Preview with #181F01

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

Preview Lab → · Contrast checker → · Palette generator →

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