#18472F#18472F

#18472F is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.8% C 0.066 H 158.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#18472F
RGBrgb(24, 71, 47)
HSLhsl(149, 49%, 19%)
HSVhsv(149, 66%, 28%)
CMYKcmyk(66.2%, 0%, 33.8%, 72.2%)
CIE-LABlab(26.46, -22.55, 9.80)
CIE-LCHlch(26.46, 24.59, 156.50°)
OKLaboklab(35.82% -0.0615 0.0249)
OKLCHoklch(35.82% 0.066 158)
XYZxyz(3.1427, 4.9056, 3.4700)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18472F #471830
analogous
#184718 #18472F #184746
triadic
#18472F #2F1847 #472F18
tetradic
#18472F #181847 #471830 #474618
square
#18472F #181847 #471830 #474618
split-complementary
#18472F #461847 #471818
monochromatic
#08170F #091911 #18472F #27754D #37A26C

Accessibility & contrast

On white

10.60
#18472F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#18472F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18472F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18472F#FFFFFF#000000##FFFFFF
##18472F1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412E
Deuteranopia (green-blind)
#403D31
Tritanopia (blue-blind)
#054741
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18472f;
/* rgb */ color: rgb(24, 71, 47);
/* oklch */ color: oklch(35.8% 0.066 158.0);
Tailwind
colors: {
  custom: {
    50: '#5a7a67',
    500: '#18472f',
    950: '#000000',
  },
}
SCSS
$custom: #18472f;
$custom-light: #5a7a67;
$custom-dark: #000000;
JSON
{
  "hex": "#18472f",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 47
  },
  "hsl": {
    "h": 149.362,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.06637,
    "h": 158
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#18472F
secondary
#7E3D5E
accent
#4F95D9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #18472F

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

Preview Lab → · Contrast checker → · Palette generator →

#18472F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva