#188517#188517

#188517 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.171 H 142.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#188517
RGBrgb(24, 133, 23)
HSLhsl(119, 71%, 31%)
HSVhsv(119, 83%, 52%)
CMYKcmyk(82%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.30, -49.94, 46.50)
CIE-LCHlch(48.30, 68.24, 137.04°)
OKLaboklab(53.8% -0.1356 0.1034)
OKLCHoklch(53.8% 0.171 142.7)
XYZxyz(8.9183, 17.0300, 3.6275)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188517 #841785
analogous
#4F8517 #188517 #17854D
triadic
#188517 #171885 #851718
tetradic
#188517 #174F85 #841785 #854D17
square
#188517 #174F85 #841785 #854D17
split-complementary
#188517 #4D1785 #85174F
monochromatic
#051D05 #0F510E #188517 #21B920 #3BDD3A

Accessibility & contrast

On white

4.77
#188517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#188517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188517
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188517#FFFFFF#000000##FFFFFF
##1885171.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7C7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #188517;
/* rgb */ color: rgb(24, 133, 23);
/* oklch */ color: oklch(53.8% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#6baa5e',
    500: '#188517',
    950: '#000000',
  },
}
SCSS
$custom: #188517;
$custom-light: #6baa5e;
$custom-dark: #000000;
JSON
{
  "hex": "#188517",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 119.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.538,
    "c": 0.17054,
    "h": 142.7
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#188517
secondary
#B83FB9
accent
#3BEDEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188517

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

Preview Lab → · Contrast checker → · Palette generator →

#188517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva