#18472D#18472D

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

Color values

HEX#18472D
RGBrgb(24, 71, 45)
HSLhsl(147, 49%, 19%)
HSVhsv(147, 66%, 28%)
CMYKcmyk(66.2%, 0%, 36.6%, 72.2%)
CIE-LABlab(26.42, -23.03, 11.02)
CIE-LCHlch(26.42, 25.53, 154.44°)
OKLaboklab(35.77% -0.0626 0.0278)
OKLCHoklch(35.77% 0.069 156.1)
XYZxyz(3.1033, 4.8898, 3.2624)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18472D #471832
analogous
#1A4718 #18472D #184744
triadic
#18472D #2D1847 #472D18
tetradic
#18472D #181A47 #471832 #474418
square
#18472D #181A47 #471832 #474418
split-complementary
#18472D #441847 #47181A
monochromatic
#08170E #091910 #18472D #27754A #37A267

Accessibility & contrast

On white

10.62
#18472D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18472D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18472D#FFFFFF#000000##FFFFFF
##18472D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47412B
Deuteranopia (green-blind)
#403D2F
Tritanopia (blue-blind)
#064640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18472d;
/* rgb */ color: rgb(24, 71, 45);
/* oklch */ color: oklch(35.8% 0.069 156.1);
Tailwind
colors: {
  custom: {
    50: '#5a7a66',
    500: '#18472d',
    950: '#000000',
  },
}
SCSS
$custom: #18472d;
$custom-light: #5a7a66;
$custom-dark: #000000;
JSON
{
  "hex": "#18472d",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 45
  },
  "hsl": {
    "h": 146.809,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35769,
    "c": 0.06854,
    "h": 156.1
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#18472D
secondary
#7E3D61
accent
#4F9BD9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #18472D

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

Preview Lab → · Contrast checker → · Palette generator →

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