#18472A#18472A

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

Color values

HEX#18472A
RGBrgb(24, 71, 42)
HSLhsl(143, 49%, 19%)
HSVhsv(143, 66%, 28%)
CMYKcmyk(66.2%, 0%, 40.8%, 72.2%)
CIE-LABlab(26.35, -23.71, 12.83)
CIE-LCHlch(26.35, 26.96, 151.59°)
OKLaboklab(35.7% -0.0643 0.0321)
OKLCHoklch(35.7% 0.072 153.5)
XYZxyz(3.0476, 4.8675, 2.9690)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18472A #471835
analogous
#1D4718 #18472A #184741
triadic
#18472A #2A1847 #472A18
tetradic
#18472A #181D47 #471835 #474118
square
#18472A #181D47 #471835 #474118
split-complementary
#18472A #411847 #47181D
monochromatic
#08170E #09190F #18472A #277545 #37A260

Accessibility & contrast

On white

10.64
#18472A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#18472A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18472A
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18472A#FFFFFF#000000##FFFFFF
##18472A1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18472a;
/* rgb */ color: rgb(24, 71, 42);
/* oklch */ color: oklch(35.7% 0.072 153.5);
Tailwind
colors: {
  custom: {
    50: '#5a7b63',
    500: '#18472a',
    950: '#000000',
  },
}
SCSS
$custom: #18472a;
$custom-light: #5a7b63;
$custom-dark: #000000;
JSON
{
  "hex": "#18472a",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 42
  },
  "hsl": {
    "h": 142.979,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35695,
    "c": 0.07187,
    "h": 153.5
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#18472A
secondary
#7E3D65
accent
#4FA4D9
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040905
muted
#797B79

Preview Lab

Preview with #18472A

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

Preview Lab → · Contrast checker → · Palette generator →

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