#18240B#18240B

#18240B is a very dark, muted yellow-green. Relative luminance 0.015; OKLCH L 24.2% C 0.046 H 130.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#18240B
RGBrgb(24, 36, 11)
HSLhsl(89, 53%, 9%)
HSVhsv(89, 69%, 14%)
CMYKcmyk(33.3%, 0%, 69.4%, 85.9%)
CIE-LABlab(12.48, -10.77, 13.71)
CIE-LCHlch(12.48, 17.44, 128.16°)
OKLaboklab(24.18% -0.03 0.0352)
OKLCHoklch(24.18% 0.046 130.5)
XYZxyz(1.0680, 1.4801, 0.5460)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18240B #170B24
analogous
#24240B #18240B #0C240B
triadic
#18240B #0B1824 #240B18
tetradic
#18240B #0B2424 #170B24 #240B0C
square
#18240B #0B2424 #170B24 #240B0C
split-complementary
#18240B #0B0C24 #240B24
monochromatic
#101707 #101707 #18240B #375319 #578228

Accessibility & contrast

On white

16.20
#18240B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#18240B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18240B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18240B#FFFFFF#000000##FFFFFF
##18240B1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262109
Deuteranopia (green-blind)
#24200D
Tritanopia (blue-blind)
#19221E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #18240b;
/* rgb */ color: rgb(24, 36, 11);
/* oklch */ color: oklch(24.2% 0.046 130.5);
Tailwind
colors: {
  custom: {
    50: '#555e4b',
    500: '#18240b',
    950: '#000000',
  },
}
SCSS
$custom: #18240b;
$custom-light: #555e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#18240b",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 88.8,
    "s": 53.191,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24182,
    "c": 0.04628,
    "h": 130.5
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#18240B
secondary
#442C5F
accent
#4BDD91
background
#F4F5F4
surface
#E8E9E7
border
#C4C5C3
text
#030401
muted
#787977

Preview Lab

Preview with #18240B

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

Preview Lab → · Contrast checker → · Palette generator →

#18240B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva