#18502E#18502E

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

Color values

HEX#18502E
RGBrgb(24, 80, 46)
HSLhsl(144, 54%, 20%)
HSVhsv(144, 70%, 31%)
CMYKcmyk(70%, 0%, 42.5%, 68.6%)
CIE-LABlab(29.73, -27.09, 14.84)
CIE-LCHlch(29.73, 30.89, 151.29°)
OKLaboklab(38.5% -0.0733 0.037)
OKLCHoklch(38.5% 0.082 153.2)
XYZxyz(3.7382, 6.1284, 3.5701)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18502E #50183A
analogous
#1E5018 #18502E #18504A
triadic
#18502E #2E1850 #502E18
tetradic
#18502E #181E50 #50183A #504A18
square
#18502E #181E50 #50183A #504A18
split-complementary
#18502E #4A1850 #50181E
monochromatic
#07180E #0A2113 #18502E #267F49 #34AE64

Accessibility & contrast

On white

9.43
#18502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#18502E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18502E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18502E#FFFFFF#000000##FFFFFF
##18502E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#494430
Tritanopia (blue-blind)
#014F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18502e;
/* rgb */ color: rgb(24, 80, 46);
/* oklch */ color: oklch(38.5% 0.082 153.2);
Tailwind
colors: {
  custom: {
    50: '#5c8267',
    500: '#18502e',
    950: '#000000',
  },
}
SCSS
$custom: #18502e;
$custom-light: #5c8267;
$custom-dark: #000000;
JSON
{
  "hex": "#18502e",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 143.571,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.08208,
    "h": 153.2
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#18502E
secondary
#873D6A
accent
#4BA4DD
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #18502E

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

Preview Lab → · Contrast checker → · Palette generator →

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