#182008#182008

#182008 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.9% C 0.043 H 125.0°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#182008
RGBrgb(24, 32, 8)
HSLhsl(80, 60%, 8%)
HSVhsv(80, 75%, 13%)
CMYKcmyk(25%, 0%, 75%, 87.5%)
CIE-LABlab(10.88, -8.66, 12.75)
CIE-LCHlch(10.88, 15.41, 124.20°)
OKLaboklab(22.88% -0.0245 0.035)
OKLCHoklch(22.88% 0.043 125)
XYZxyz(0.9370, 1.2447, 0.4206)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182008 #100820
analogous
#201C08 #182008 #0C2008
triadic
#182008 #081820 #200818
tetradic
#182008 #08201C #100820 #20080C
square
#182008 #08201C #100820 #20080C
split-complementary
#182008 #080C20 #1C0820
monochromatic
#121806 #121806 #182008 #3D5114 #618220

Accessibility & contrast

On white

16.81
#182008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#182008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182008
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182008#FFFFFF#000000##FFFFFF
##1820081.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E06
Deuteranopia (green-blind)
#211D09
Tritanopia (blue-blind)
#191E1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #182008;
/* rgb */ color: rgb(24, 32, 8);
/* oklch */ color: oklch(22.9% 0.043 125.0);
Tailwind
colors: {
  custom: {
    50: '#545b4a',
    500: '#182008',
    950: '#000000',
  },
}
SCSS
$custom: #182008;
$custom-light: #545b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#182008",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 8
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 7.843
  },
  "oklch": {
    "l": 0.22877,
    "c": 0.04277,
    "h": 125
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#182008
secondary
#39265E
accent
#45E379
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#030401
muted
#787977

Preview Lab

Preview with #182008

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

Preview Lab → · Contrast checker → · Palette generator →

#182008 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva