#18502D#18502D

#18502D is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.083 H 152.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#18502D
RGBrgb(24, 80, 45)
HSLhsl(143, 54%, 20%)
HSVhsv(143, 70%, 31%)
CMYKcmyk(70%, 0%, 43.7%, 68.6%)
CIE-LABlab(29.71, -27.30, 15.42)
CIE-LCHlch(29.71, 31.36, 150.54°)
OKLaboklab(38.48% -0.0738 0.0384)
OKLCHoklch(38.48% 0.083 152.5)
XYZxyz(3.7187, 6.1206, 3.4675)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18502D #50183B
analogous
#1F5018 #18502D #185049
triadic
#18502D #2D1850 #502D18
tetradic
#18502D #181F50 #50183B #504918
square
#18502D #181F50 #50183B #504918
split-complementary
#18502D #491850 #50181F
monochromatic
#07180D #0A2113 #18502D #267F47 #34AE62

Accessibility & contrast

On white

9.44
#18502D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#18502D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18502D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18502D#FFFFFF#000000##FFFFFF
##18502D1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#49442F
Tritanopia (blue-blind)
#024F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18502d;
/* rgb */ color: rgb(24, 80, 45);
/* oklch */ color: oklch(38.5% 0.083 152.5);
Tailwind
colors: {
  custom: {
    50: '#5c8266',
    500: '#18502d',
    950: '#000000',
  },
}
SCSS
$custom: #18502d;
$custom-light: #5c8266;
$custom-dark: #000000;
JSON
{
  "hex": "#18502d",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 142.5,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.08317,
    "h": 152.5
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#18502D
secondary
#873D6B
accent
#4BA6DD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #18502D

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

Preview Lab → · Contrast checker → · Palette generator →

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