#188D40#188D40

#188D40 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.151 H 149.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#188D40
RGBrgb(24, 141, 64)
HSLhsl(141, 71%, 32%)
HSVhsv(141, 83%, 55%)
CMYKcmyk(83%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.40, -48.13, 32.21)
CIE-LCHlch(51.40, 57.91, 146.21°)
OKLaboklab(56.49% -0.1292 0.0775)
OKLCHoklch(56.49% 0.151 149)
XYZxyz(10.8261, 19.6128, 8.0646)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D40 #8D1865
analogous
#2A8D18 #188D40 #188D7B
triadic
#188D40 #40188D #8D4018
tetradic
#188D40 #182A8D #8D1865 #8D7B18
square
#188D40 #182A8D #8D1865 #8D7B18
split-complementary
#188D40 #7B188D #8D182A
monochromatic
#062411 #0F5928 #188D40 #21C158 #41DF77

Accessibility & contrast

On white

4.27
#188D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#188D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D40
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D40#FFFFFF#000000##000000
##188D401.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d40;
/* rgb */ color: rgb(24, 141, 64);
/* oklch */ color: oklch(56.5% 0.151 149.0);
Tailwind
colors: {
  custom: {
    50: '#6caf77',
    500: '#188d40',
    950: '#000000',
  },
}
SCSS
$custom: #188d40;
$custom-light: #6caf77;
$custom-dark: #000000;
JSON
{
  "hex": "#188d40",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 140.513,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.15064,
    "h": 149
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#188D40
secondary
#BF4294
accent
#3AB0EE
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #188D40

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

Preview Lab → · Contrast checker → · Palette generator →

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