#18702A#18702A

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

Color values

HEX#18702A
RGBrgb(24, 112, 42)
HSLhsl(132, 65%, 27%)
HSVhsv(132, 79%, 44%)
CMYKcmyk(78.6%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.13, -40.88, 31.21)
CIE-LCHlch(41.13, 51.43, 142.64°)
OKLaboklab(47.9% -0.1101 0.0736)
OKLCHoklch(47.9% 0.132 146.2)
XYZxyz(6.5883, 11.9489, 4.1492)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18702A #70185E
analogous
#327018 #18702A #187056
triadic
#18702A #2A1870 #702A18
tetradic
#18702A #183270 #70185E #705618
square
#18702A #183270 #70185E #705618
split-complementary
#18702A #561870 #701832
monochromatic
#051909 #0D3E17 #18702A #23A23D #30D351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18702A#FFFFFF#000000##FFFFFF
##18702A1.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)
#726523
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #18702a;
/* rgb */ color: rgb(24, 112, 42);
/* oklch */ color: oklch(47.9% 0.132 146.2);
Tailwind
colors: {
  custom: {
    50: '#659a66',
    500: '#18702a',
    950: '#000000',
  },
}
SCSS
$custom: #18702a;
$custom-light: #659a66;
$custom-dark: #000000;
JSON
{
  "hex": "#18702a",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 132.273,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47897,
    "c": 0.13248,
    "h": 146.2
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#18702A
secondary
#A53E90
accent
#40C5E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18702A

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

Preview Lab → · Contrast checker → · Palette generator →

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