#18210A#18210A

#18210A is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.2% C 0.042 H 127.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#18210A
RGBrgb(24, 33, 10)
HSLhsl(83, 53%, 8%)
HSVhsv(83, 70%, 13%)
CMYKcmyk(27.3%, 0%, 69.7%, 87.1%)
CIE-LABlab(11.30, -9.03, 12.51)
CIE-LCHlch(11.30, 15.43, 125.81°)
OKLaboklab(23.23% -0.0253 0.0334)
OKLCHoklch(23.23% 0.042 127.1)
XYZxyz(0.9753, 1.3038, 0.4874)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18210A #130A21
analogous
#211E0A #18210A #0C210A
triadic
#18210A #0A1821 #210A18
tetradic
#18210A #0A211E #130A21 #210A0C
square
#18210A #0A211E #130A21 #210A0C
split-complementary
#18210A #0A0C21 #1E0A21
monochromatic
#111707 #111707 #18210A #3A5018 #5C7F26

Accessibility & contrast

On white

16.66
#18210A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#18210A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18210A
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18210A#FFFFFF#000000##FFFFFF
##18210A1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E08
Deuteranopia (green-blind)
#221E0B
Tritanopia (blue-blind)
#191F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #18210a;
/* rgb */ color: rgb(24, 33, 10);
/* oklch */ color: oklch(23.2% 0.042 127.1);
Tailwind
colors: {
  custom: {
    50: '#555c4b',
    500: '#18210a',
    950: '#000000',
  },
}
SCSS
$custom: #18210a;
$custom-light: #555c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#18210a",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 10
  },
  "hsl": {
    "h": 83.478,
    "s": 53.488,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23225,
    "c": 0.04193,
    "h": 127.1
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#18210A
secondary
#3E2A5D
accent
#4BDD84
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#030401
muted
#787977

Preview Lab

Preview with #18210A

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

Preview Lab → · Contrast checker → · Palette generator →

#18210A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva