#188F42#188F42

#188F42 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.151 H 149.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#188F42
RGBrgb(24, 143, 66)
HSLhsl(141, 71%, 33%)
HSVhsv(141, 83%, 56%)
CMYKcmyk(83.2%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.10, -48.53, 32.04)
CIE-LCHlch(52.10, 58.15, 146.57°)
OKLaboklab(57.08% -0.1302 0.0772)
OKLCHoklch(57.08% 0.151 149.3)
XYZxyz(11.1816, 20.2311, 8.4689)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F42 #8F1865
analogous
#2A8F18 #188F42 #188F7D
triadic
#188F42 #42188F #8F4218
tetradic
#188F42 #182A8F #8F1865 #8F7D18
square
#188F42 #182A8F #8F1865 #8F7D18
split-complementary
#188F42 #7D188F #8F182A
monochromatic
#062612 #0F5B2A #188F42 #21C35A #42DF7A

Accessibility & contrast

On white

4.16
#188F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#188F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F42
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F42#FFFFFF#000000##000000
##188F421.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823B
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f42;
/* rgb */ color: rgb(24, 143, 66);
/* oklch */ color: oklch(57.1% 0.151 149.3);
Tailwind
colors: {
  custom: {
    50: '#6cb178',
    500: '#188f42',
    950: '#000000',
  },
}
SCSS
$custom: #188f42;
$custom-light: #6cb178;
$custom-dark: #000000;
JSON
{
  "hex": "#188f42",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 141.176,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.15141,
    "h": 149.3
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#188F42
secondary
#C04394
accent
#3AAEEE
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #188F42

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

Preview Lab → · Contrast checker → · Palette generator →

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