#18471B#18471B

#18471B is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.088 H 144.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#18471B
RGBrgb(24, 71, 27)
HSLhsl(124, 49%, 19%)
HSVhsv(124, 66%, 28%)
CMYKcmyk(66.2%, 0%, 62%, 72.2%)
CIE-LABlab(26.10, -26.52, 21.54)
CIE-LCHlch(26.10, 34.17, 140.93°)
OKLaboklab(35.4% -0.0719 0.0513)
OKLCHoklch(35.4% 0.088 144.5)
XYZxyz(2.8276, 4.7795, 1.8102)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18471B #471844
analogous
#2C4718 #18471B #184732
triadic
#18471B #1B1847 #471B18
tetradic
#18471B #182C47 #471844 #473218
square
#18471B #182C47 #471844 #473218
split-complementary
#18471B #321847 #47182C
monochromatic
#081709 #09190A #18471B #27752C #37A23E

Accessibility & contrast

On white

10.74
#18471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#18471B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18471B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18471B#FFFFFF#000000##FFFFFF
##18471B1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#423C1E
Tritanopia (blue-blind)
#0F453D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18471b;
/* rgb */ color: rgb(24, 71, 27);
/* oklch */ color: oklch(35.4% 0.088 144.5);
Tailwind
colors: {
  custom: {
    50: '#5b7b59',
    500: '#18471b',
    950: '#000000',
  },
}
SCSS
$custom: #18471b;
$custom-light: #5b7b59;
$custom-dark: #000000;
JSON
{
  "hex": "#18471b",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 123.83,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.354,
    "c": 0.08834,
    "h": 144.5
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#18471B
secondary
#7E3D7A
accent
#4FD0D9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18471B

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

Preview Lab → · Contrast checker → · Palette generator →

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