#188D51#188D51

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

Color values

HEX#188D51
RGBrgb(24, 141, 81)
HSLhsl(149, 71%, 32%)
HSVhsv(149, 83%, 55%)
CMYKcmyk(83%, 0%, 42.6%, 44.7%)
CIE-LABlab(51.65, -45.13, 23.46)
CIE-LCHlch(51.65, 50.86, 152.53°)
OKLaboklab(56.79% -0.1214 0.0582)
OKLCHoklch(56.79% 0.135 154.4)
XYZxyz(11.3857, 19.8366, 11.0118)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D51 #8D1854
analogous
#198D18 #188D51 #188D8C
triadic
#188D51 #51188D #8D5118
tetradic
#188D51 #18198D #8D1854 #8D8C18
square
#188D51 #18198D #8D1854 #8D8C18
split-complementary
#188D51 #8C188D #8D1819
monochromatic
#062415 #0F5933 #188D51 #21C16F #41DF8E

Accessibility & contrast

On white

4.23
#188D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##188D51#FFFFFF#000000##000000
##188D511.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188d51;
/* rgb */ color: rgb(24, 141, 81);
/* oklch */ color: oklch(56.8% 0.135 154.4);
Tailwind
colors: {
  custom: {
    50: '#6baf82',
    500: '#188d51',
    950: '#000000',
  },
}
SCSS
$custom: #188d51;
$custom-light: #6baf82;
$custom-dark: #000000;
JSON
{
  "hex": "#188d51",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 149.231,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.13464,
    "h": 154.4
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#188D51
secondary
#BF4282
accent
#3A96EE
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #188D51

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

Preview Lab → · Contrast checker → · Palette generator →

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