#18472C#18472C

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

Color values

HEX#18472C
RGBrgb(24, 71, 44)
HSLhsl(146, 49%, 19%)
HSVhsv(146, 66%, 28%)
CMYKcmyk(66.2%, 0%, 38%, 72.2%)
CIE-LABlab(26.40, -23.26, 11.62)
CIE-LCHlch(26.40, 26.00, 153.45°)
OKLaboklab(35.74% -0.0632 0.0293)
OKLCHoklch(35.74% 0.07 155.2)
XYZxyz(3.0843, 4.8822, 3.1622)
Luminance0.0488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18472C #471833
analogous
#1B4718 #18472C #184743
triadic
#18472C #2C1847 #472C18
tetradic
#18472C #181B47 #471833 #474318
square
#18472C #181B47 #471833 #474318
split-complementary
#18472C #431847 #47181B
monochromatic
#08170E #091910 #18472C #277548 #37A265

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18472C#FFFFFF#000000##FFFFFF
##18472C1.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)
#47412A
Deuteranopia (green-blind)
#403D2E
Tritanopia (blue-blind)
#074640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #18472c;
/* rgb */ color: rgb(24, 71, 44);
/* oklch */ color: oklch(35.7% 0.070 155.2);
Tailwind
colors: {
  custom: {
    50: '#5a7b65',
    500: '#18472c',
    950: '#000000',
  },
}
SCSS
$custom: #18472c;
$custom-light: #5a7b65;
$custom-dark: #000000;
JSON
{
  "hex": "#18472c",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 44
  },
  "hsl": {
    "h": 145.532,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.06964,
    "h": 155.2
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#18472C
secondary
#7E3D62
accent
#4F9ED9
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #18472C

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

Preview Lab → · Contrast checker → · Palette generator →

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