#188F17#188F17

#188F17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.181 H 142.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#188F17
RGBrgb(24, 143, 23)
HSLhsl(120, 72%, 33%)
HSVhsv(120, 84%, 56%)
CMYKcmyk(83.2%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.72, -53.12, 49.70)
CIE-LCHlch(51.72, 72.75, 136.91°)
OKLaboklab(56.65% -0.1442 0.1101)
OKLCHoklch(56.65% 0.181 142.6)
XYZxyz(10.3531, 19.8997, 4.1058)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F17 #8E178F
analogous
#548F17 #188F17 #178F52
triadic
#188F17 #17188F #8F1718
tetradic
#188F17 #17548F #8E178F #8F5217
square
#188F17 #17548F #8E178F #8F5217
split-complementary
#188F17 #52178F #8F1754
monochromatic
#062606 #0F5A0F #188F17 #21C41F #41E040

Accessibility & contrast

On white

4.22
#188F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#188F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F17#FFFFFF#000000##000000
##188F171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f17;
/* rgb */ color: rgb(24, 143, 23);
/* oklch */ color: oklch(56.7% 0.181 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#188f17',
    950: '#000000',
  },
}
SCSS
$custom: #188f17;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#188f17",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 119.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.18144,
    "h": 142.6
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#188F17
secondary
#C041C1
accent
#39EFED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #188F17

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

Preview Lab → · Contrast checker → · Palette generator →

#188F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva