#18471E#18471E

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

Color values

HEX#18471E
RGBrgb(24, 71, 30)
HSLhsl(128, 49%, 19%)
HSVhsv(128, 66%, 28%)
CMYKcmyk(66.2%, 0%, 57.7%, 72.2%)
CIE-LABlab(26.14, -26.05, 19.86)
CIE-LCHlch(26.14, 32.76, 142.67°)
OKLaboklab(35.45% -0.0705 0.0478)
OKLCHoklch(35.45% 0.085 145.8)
XYZxyz(2.8641, 4.7941, 2.0025)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18471E #471841
analogous
#294718 #18471E #184735
triadic
#18471E #1E1847 #471E18
tetradic
#18471E #182947 #471841 #473518
square
#18471E #182947 #471841 #473518
split-complementary
#18471E #351847 #471829
monochromatic
#08170A #09190B #18471E #277531 #37A245

Accessibility & contrast

On white

10.72
#18471E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18471E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18471E#FFFFFF#000000##FFFFFF
##18471E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401A
Deuteranopia (green-blind)
#423C21
Tritanopia (blue-blind)
#0E453E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18471e;
/* rgb */ color: rgb(24, 71, 30);
/* oklch */ color: oklch(35.4% 0.085 145.8);
Tailwind
colors: {
  custom: {
    50: '#5b7b5b',
    500: '#18471e',
    950: '#000000',
  },
}
SCSS
$custom: #18471e;
$custom-light: #5b7b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#18471e",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 30
  },
  "hsl": {
    "h": 127.66,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.0852,
    "h": 145.8
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#18471E
secondary
#7E3D75
accent
#4FC7D9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #18471E

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

Preview Lab → · Contrast checker → · Palette generator →

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