#18472B#18472B

#18472B is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.071 H 154.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#18472B
RGBrgb(24, 71, 43)
HSLhsl(144, 49%, 19%)
HSVhsv(144, 66%, 28%)
CMYKcmyk(66.2%, 0%, 39.4%, 72.2%)
CIE-LABlab(26.38, -23.49, 12.22)
CIE-LCHlch(26.38, 26.48, 152.51°)
OKLaboklab(35.72% -0.0637 0.0307)
OKLCHoklch(35.72% 0.071 154.3)
XYZxyz(3.0657, 4.8748, 3.0644)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18472B #471834
analogous
#1C4718 #18472B #184742
triadic
#18472B #2B1847 #472B18
tetradic
#18472B #181C47 #471834 #474218
square
#18472B #181C47 #471834 #474218
split-complementary
#18472B #421847 #47181C
monochromatic
#08170E #09190F #18472B #277547 #37A262

Accessibility & contrast

On white

10.63
#18472B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18472B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18472B#FFFFFF#000000##FFFFFF
##18472B1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#413D2D
Tritanopia (blue-blind)
#084640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18472b;
/* rgb */ color: rgb(24, 71, 43);
/* oklch */ color: oklch(35.7% 0.071 154.3);
Tailwind
colors: {
  custom: {
    50: '#5a7b64',
    500: '#18472b',
    950: '#000000',
  },
}
SCSS
$custom: #18472b;
$custom-light: #5a7b64;
$custom-dark: #000000;
JSON
{
  "hex": "#18472b",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 43
  },
  "hsl": {
    "h": 144.255,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35719,
    "c": 0.07075,
    "h": 154.3
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#18472B
secondary
#7E3D64
accent
#4FA1D9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #18472B

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

Preview Lab → · Contrast checker → · Palette generator →

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