#18702D#18702D

#18702D is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.130 H 147.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#18702D
RGBrgb(24, 112, 45)
HSLhsl(134, 65%, 27%)
HSVhsv(134, 79%, 44%)
CMYKcmyk(78.6%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.17, -40.46, 29.72)
CIE-LCHlch(41.17, 50.20, 143.70°)
OKLaboklab(47.94% -0.1089 0.0707)
OKLCHoklch(47.94% 0.13 147)
XYZxyz(6.6440, 11.9712, 4.4426)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18702D #70185B
analogous
#2F7018 #18702D #187059
triadic
#18702D #2D1870 #702D18
tetradic
#18702D #182F70 #70185B #705918
square
#18702D #182F70 #70185B #705918
split-complementary
#18702D #591870 #70182F
monochromatic
#05190A #0D3E19 #18702D #23A241 #30D357

Accessibility & contrast

On white

6.19
#18702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#18702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18702D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18702D#FFFFFF#000000##FFFFFF
##18702D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716526
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #18702d;
/* rgb */ color: rgb(24, 112, 45);
/* oklch */ color: oklch(47.9% 0.130 147.0);
Tailwind
colors: {
  custom: {
    50: '#659a68',
    500: '#18702d',
    950: '#000000',
  },
}
SCSS
$custom: #18702d;
$custom-light: #659a68;
$custom-dark: #000000;
JSON
{
  "hex": "#18702d",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 134.318,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.12981,
    "h": 147
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#18702D
secondary
#A53E8D
accent
#40C0E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18702D

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

Preview Lab → · Contrast checker → · Palette generator →

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