#18702C#18702C

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

Color values

HEX#18702C
RGBrgb(24, 112, 44)
HSLhsl(134, 65%, 27%)
HSVhsv(134, 79%, 44%)
CMYKcmyk(78.6%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.16, -40.60, 30.22)
CIE-LCHlch(41.16, 50.61, 143.34°)
OKLaboklab(47.92% -0.1093 0.0717)
OKLCHoklch(47.92% 0.131 146.8)
XYZxyz(6.6250, 11.9636, 4.3424)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18702C #70185C
analogous
#307018 #18702C #187058
triadic
#18702C #2C1870 #702C18
tetradic
#18702C #183070 #70185C #705818
square
#18702C #183070 #70185C #705818
split-complementary
#18702C #581870 #701830
monochromatic
#05190A #0D3E18 #18702C #23A240 #30D355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18702C#FFFFFF#000000##FFFFFF
##18702C1.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)
#726525
Deuteranopia (green-blind)
#685E31
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #18702c;
/* rgb */ color: rgb(24, 112, 44);
/* oklch */ color: oklch(47.9% 0.131 146.8);
Tailwind
colors: {
  custom: {
    50: '#659a67',
    500: '#18702c',
    950: '#000000',
  },
}
SCSS
$custom: #18702c;
$custom-light: #659a67;
$custom-dark: #000000;
JSON
{
  "hex": "#18702c",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 133.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.13071,
    "h": 146.8
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#18702C
secondary
#A53E8E
accent
#40C2E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #18702C

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

Preview Lab → · Contrast checker → · Palette generator →

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