#18200C#18200C

#18200C is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 22.9% C 0.037 H 127.0°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#18200C
RGBrgb(24, 32, 12)
HSLhsl(84, 45%, 9%)
HSVhsv(84, 63%, 13%)
CMYKcmyk(25%, 0%, 62.5%, 87.5%)
CIE-LABlab(10.95, -8.09, 11.16)
CIE-LCHlch(10.95, 13.79, 125.93°)
OKLaboklab(22.95% -0.0225 0.0298)
OKLCHoklch(22.95% 0.037 127)
XYZxyz(0.9596, 1.2537, 0.5392)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18200C #140C20
analogous
#201E0C #18200C #0E200C
triadic
#18200C #0C1820 #200C18
tetradic
#18200C #0C201E #140C20 #200C0E
square
#18200C #0C201E #140C20 #200C0E
split-complementary
#18200C #0C0E20 #1E0C20
monochromatic
#111608 #111608 #18200C #394D1D #5B792D

Accessibility & contrast

On white

16.79
#18200C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#18200C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18200C
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18200C#FFFFFF#000000##FFFFFF
##18200C1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18200c;
/* rgb */ color: rgb(24, 32, 12);
/* oklch */ color: oklch(22.9% 0.037 127.0);
Tailwind
colors: {
  custom: {
    50: '#545b4c',
    500: '#18200c',
    950: '#000000',
  },
}
SCSS
$custom: #18200c;
$custom-light: #545b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#18200c",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 12
  },
  "hsl": {
    "h": 84,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2295,
    "c": 0.03732,
    "h": 127
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#18200C
secondary
#402E5A
accent
#53D587
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#030401
muted
#787977

Preview Lab

Preview with #18200C

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

Preview Lab → · Contrast checker → · Palette generator →

#18200C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva