#188D2E#188D2E

#188D2E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.166 H 145.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#188D2E
RGBrgb(24, 141, 46)
HSLhsl(131, 71%, 32%)
HSVhsv(131, 83%, 55%)
CMYKcmyk(83%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.20, -50.54, 40.66)
CIE-LCHlch(51.20, 64.87, 141.19°)
OKLaboklab(56.27% -0.1362 0.0942)
OKLCHoklch(56.27% 0.166 145.3)
XYZxyz(10.3940, 19.4399, 5.7887)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D2E #8D1877
analogous
#3D8D18 #188D2E #188D69
triadic
#188D2E #2E188D #8D2E18
tetradic
#188D2E #183D8D #8D1877 #8D6918
square
#188D2E #183D8D #8D1877 #8D6918
split-complementary
#188D2E #69188D #8D183D
monochromatic
#06240C #0F591D #188D2E #21C13F #41DF5E

Accessibility & contrast

On white

4.30
#188D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#188D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D2E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D2E#FFFFFF#000000##000000
##188D2E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d2e;
/* rgb */ color: rgb(24, 141, 46);
/* oklch */ color: oklch(56.3% 0.166 145.3);
Tailwind
colors: {
  custom: {
    50: '#6caf6b',
    500: '#188d2e',
    950: '#000000',
  },
}
SCSS
$custom: #188d2e;
$custom-light: #6caf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#188d2e",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 131.282,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.16563,
    "h": 145.3
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#188D2E
secondary
#BF42A8
accent
#3ACCEE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #188D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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