#18472E#18472E

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

Color values

HEX#18472E
RGBrgb(24, 71, 46)
HSLhsl(148, 49%, 19%)
HSVhsv(148, 66%, 28%)
CMYKcmyk(66.2%, 0%, 35.2%, 72.2%)
CIE-LABlab(26.44, -22.79, 10.41)
CIE-LCHlch(26.44, 25.06, 155.45°)
OKLaboklab(35.8% -0.0621 0.0263)
OKLCHoklch(35.8% 0.067 157)
XYZxyz(3.1228, 4.8976, 3.3650)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18472E #471831
analogous
#194718 #18472E #184745
triadic
#18472E #2E1847 #472E18
tetradic
#18472E #181947 #471831 #474518
square
#18472E #181947 #471831 #474518
split-complementary
#18472E #451847 #471819
monochromatic
#08170F #091910 #18472E #27754C #37A269

Accessibility & contrast

On white

10.61
#18472E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18472E
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18472E#FFFFFF#000000##FFFFFF
##18472E1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412C
Deuteranopia (green-blind)
#403D30
Tritanopia (blue-blind)
#064640
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18472e;
/* rgb */ color: rgb(24, 71, 46);
/* oklch */ color: oklch(35.8% 0.067 157.0);
Tailwind
colors: {
  custom: {
    50: '#5a7a66',
    500: '#18472e',
    950: '#000000',
  },
}
SCSS
$custom: #18472e;
$custom-light: #5a7a66;
$custom-dark: #000000;
JSON
{
  "hex": "#18472e",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 46
  },
  "hsl": {
    "h": 148.085,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.06745,
    "h": 157
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#18472E
secondary
#7E3D5F
accent
#4F98D9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #18472E

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

Preview Lab → · Contrast checker → · Palette generator →

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