#181C08#181C08

#181C08 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.6% C 0.036 H 118.8°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#181C08
RGBrgb(24, 28, 8)
HSLhsl(72, 56%, 7%)
HSVhsv(72, 71%, 11%)
CMYKcmyk(14.3%, 0%, 71.4%, 89%)
CIE-LABlab(9.34, -6.01, 10.57)
CIE-LCHlch(9.34, 12.16, 119.64°)
OKLaboklab(21.64% -0.0171 0.0311)
OKLCHoklch(21.64% 0.036 118.8)
XYZxyz(0.8358, 1.0422, 0.3868)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C08 #0C081C
analogous
#1C1608 #181C08 #0E1C08
triadic
#181C08 #08181C #1C0818
tetradic
#181C08 #081C16 #0C081C #1C080E
square
#181C08 #081C16 #0C081C #1C080E
split-complementary
#181C08 #080E1C #16081C
monochromatic
#141807 #141807 #181C08 #414C16 #6A7B23

Accessibility & contrast

On white

17.38
#181C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C08
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C08#FFFFFF#000000##FFFFFF
##181C081.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A06
Deuteranopia (green-blind)
#1E1A09
Tritanopia (blue-blind)
#1A1A17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #181c08;
/* rgb */ color: rgb(24, 28, 8);
/* oklch */ color: oklch(21.6% 0.036 118.8);
Tailwind
colors: {
  custom: {
    50: '#54584a',
    500: '#181c08',
    950: '#000000',
  },
}
SCSS
$custom: #181c08;
$custom-light: #54584a;
$custom-dark: #000000;
JSON
{
  "hex": "#181c08",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 8
  },
  "hsl": {
    "h": 72,
    "s": 55.556,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21635,
    "c": 0.03553,
    "h": 118.8
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#181C08
secondary
#312759
accent
#49DF67
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #181C08

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

Preview Lab → · Contrast checker → · Palette generator →

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