#188817#188817

#188817 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.174 H 142.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#188817
RGBrgb(24, 136, 23)
HSLhsl(119, 71%, 31%)
HSVhsv(119, 83%, 53%)
CMYKcmyk(82.4%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.33, -50.90, 47.47)
CIE-LCHlch(49.33, 69.61, 137.00°)
OKLaboklab(54.66% -0.1382 0.1055)
OKLCHoklch(54.66% 0.174 142.7)
XYZxyz(9.3349, 17.8632, 3.7664)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188817 #871788
analogous
#508817 #188817 #17884E
triadic
#188817 #171888 #881718
tetradic
#188817 #175088 #871788 #884E17
square
#188817 #175088 #871788 #884E17
split-complementary
#188817 #4E1788 #881750
monochromatic
#061F05 #0F540E #188817 #21BC20 #3DDE3B

Accessibility & contrast

On white

4.59
#188817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#188817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #188817
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188817#FFFFFF#000000##FFFFFF
##1888171.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #188817;
/* rgb */ color: rgb(24, 136, 23);
/* oklch */ color: oklch(54.7% 0.174 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cac5f',
    500: '#188817',
    950: '#000000',
  },
}
SCSS
$custom: #188817;
$custom-light: #6cac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#188817",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 119.469,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.17384,
    "h": 142.7
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#188817
secondary
#BB3FBC
accent
#3AEEEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188817

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

Preview Lab → · Contrast checker → · Palette generator →

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