#181F03#181F03

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

Color values

HEX#181F03
RGBrgb(24, 31, 3)
HSLhsl(75, 82%, 7%)
HSVhsv(75, 90%, 12%)
CMYKcmyk(22.6%, 0%, 90.3%, 87.8%)
CIE-LABlab(10.41, -8.74, 14.13)
CIE-LCHlch(10.41, 16.61, 121.74°)
OKLaboklab(22.47% -0.0256 0.0413)
OKLCHoklch(22.47% 0.049 121.8)
XYZxyz(0.8831, 1.1807, 0.2675)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F03 #0A031F
analogous
#1F1803 #181F03 #0A1F03
triadic
#181F03 #03181F #1F0318
tetradic
#181F03 #031F18 #0A031F #1F030A
square
#181F03 #031F18 #0A031F #1F030A
split-complementary
#181F03 #030A1F #18031F
monochromatic
#161C03 #161C03 #181F03 #435708 #6E8F0E

Accessibility & contrast

On white

16.99
#181F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181F03
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F03#FFFFFF#000000##FFFFFF
##181F031.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181f03;
/* rgb */ color: rgb(24, 31, 3);
/* oklch */ color: oklch(22.5% 0.049 121.8);
Tailwind
colors: {
  custom: {
    50: '#545a48',
    500: '#181f03',
    950: '#000000',
  },
}
SCSS
$custom: #181f03;
$custom-light: #545a48;
$custom-dark: #000000;
JSON
{
  "hex": "#181f03",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 75,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22473,
    "c": 0.0486,
    "h": 121.8
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#181F03
secondary
#2D1B63
accent
#2FF961
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030300
muted
#787877

Preview Lab

Preview with #181F03

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

Preview Lab → · Contrast checker → · Palette generator →

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