#188D52#188D52

#188D52 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.134 H 154.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#188D52
RGBrgb(24, 141, 82)
HSLhsl(150, 71%, 32%)
HSVhsv(150, 83%, 55%)
CMYKcmyk(83%, 0%, 41.8%, 44.7%)
CIE-LABlab(51.67, -44.93, 22.93)
CIE-LCHlch(51.67, 50.44, 152.96°)
OKLaboklab(56.81% -0.1209 0.057)
OKLCHoklch(56.81% 0.134 154.8)
XYZxyz(11.4234, 19.8517, 11.2107)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D52 #8D1853
analogous
#188D18 #188D52 #188D8D
triadic
#188D52 #52188D #8D5218
tetradic
#188D52 #18188D #8D1853 #8D8D18
square
#188D52 #18188D #8D1853 #8D8D18
split-complementary
#188D52 #8D188D #8D1818
monochromatic
#062415 #0F5934 #188D52 #21C170 #41DF8F

Accessibility & contrast

On white

4.22
#188D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#188D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D52
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D52#FFFFFF#000000##000000
##188D521.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188d52;
/* rgb */ color: rgb(24, 141, 82);
/* oklch */ color: oklch(56.8% 0.134 154.8);
Tailwind
colors: {
  custom: {
    50: '#6baf83',
    500: '#188d52',
    950: '#000000',
  },
}
SCSS
$custom: #188d52;
$custom-light: #6baf83;
$custom-dark: #000000;
JSON
{
  "hex": "#188d52",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 149.744,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.13368,
    "h": 154.8
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#188D52
secondary
#BF4281
accent
#3A95EE
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #188D52

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

Preview Lab → · Contrast checker → · Palette generator →

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