#188D31#188D31

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

Color values

HEX#188D31
RGBrgb(24, 141, 49)
HSLhsl(133, 71%, 32%)
HSVhsv(133, 83%, 55%)
CMYKcmyk(83%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.23, -50.20, 39.33)
CIE-LCHlch(51.23, 63.77, 141.92°)
OKLaboklab(56.3% -0.1352 0.0917)
OKLCHoklch(56.3% 0.163 145.8)
XYZxyz(10.4552, 19.4644, 6.1111)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D31 #8D1874
analogous
#398D18 #188D31 #188D6C
triadic
#188D31 #31188D #8D3118
tetradic
#188D31 #18398D #8D1874 #8D6C18
square
#188D31 #18398D #8D1874 #8D6C18
split-complementary
#188D31 #6C188D #8D1839
monochromatic
#06240D #0F591F #188D31 #21C143 #41DF63

Accessibility & contrast

On white

4.29
#188D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##188D31#FFFFFF#000000##000000
##188D311.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d31;
/* rgb */ color: rgb(24, 141, 49);
/* oklch */ color: oklch(56.3% 0.163 145.8);
Tailwind
colors: {
  custom: {
    50: '#6caf6d',
    500: '#188d31',
    950: '#000000',
  },
}
SCSS
$custom: #188d31;
$custom-light: #6caf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#188d31",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 132.821,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.16335,
    "h": 145.8
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#188D31
secondary
#BF42A4
accent
#3AC7EE
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081107
muted
#7B807A

Preview Lab

Preview with #188D31

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

Preview Lab → · Contrast checker → · Palette generator →

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