#188D42#188D42

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

Color values

HEX#188D42
RGBrgb(24, 141, 66)
HSLhsl(142, 71%, 32%)
HSVhsv(142, 83%, 55%)
CMYKcmyk(83%, 0%, 53.2%, 44.7%)
CIE-LABlab(51.42, -47.81, 31.21)
CIE-LCHlch(51.42, 57.10, 146.87°)
OKLaboklab(56.52% -0.1283 0.0754)
OKLCHoklch(56.52% 0.149 149.6)
XYZxyz(10.8840, 19.6359, 8.3697)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D42 #8D1863
analogous
#298D18 #188D42 #188D7C
triadic
#188D42 #42188D #8D4218
tetradic
#188D42 #18298D #8D1863 #8D7C18
square
#188D42 #18298D #8D1863 #8D7C18
split-complementary
#188D42 #7C188D #8D1829
monochromatic
#062411 #0F592A #188D42 #21C15A #41DF79

Accessibility & contrast

On white

4.26
#188D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#188D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D42
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D42#FFFFFF#000000##000000
##188D421.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803C
Deuteranopia (green-blind)
#817748
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188d42;
/* rgb */ color: rgb(24, 141, 66);
/* oklch */ color: oklch(56.5% 0.149 149.6);
Tailwind
colors: {
  custom: {
    50: '#6baf78',
    500: '#188d42',
    950: '#000000',
  },
}
SCSS
$custom: #188d42;
$custom-light: #6baf78;
$custom-dark: #000000;
JSON
{
  "hex": "#188d42",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 141.538,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.14883,
    "h": 149.6
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#188D42
secondary
#BF4292
accent
#3AADEE
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #188D42

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

Preview Lab → · Contrast checker → · Palette generator →

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