#188D21#188D21

#188D21 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.1% C 0.174 H 143.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#188D21
RGBrgb(24, 141, 33)
HSLhsl(125, 71%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(83%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.10, -51.80, 45.84)
CIE-LCHlch(51.10, 69.17, 138.49°)
OKLaboklab(56.15% -0.1402 0.1035)
OKLCHoklch(56.15% 0.174 143.6)
XYZxyz(10.1754, 19.3525, 4.6377)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D21 #8D1884
analogous
#4A8D18 #188D21 #188D5B
triadic
#188D21 #21188D #8D2118
tetradic
#188D21 #184A8D #8D1884 #8D5B18
square
#188D21 #184A8D #8D1884 #8D5B18
split-complementary
#188D21 #5B188D #8D184A
monochromatic
#062409 #0F5915 #188D21 #21C12D #41DF4D

Accessibility & contrast

On white

4.31
#188D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#188D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D21
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D21#FFFFFF#000000##000000
##188D211.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d21;
/* rgb */ color: rgb(24, 141, 33);
/* oklch */ color: oklch(56.1% 0.174 143.6);
Tailwind
colors: {
  custom: {
    50: '#6daf64',
    500: '#188d21',
    950: '#000000',
  },
}
SCSS
$custom: #188d21;
$custom-light: #6daf64;
$custom-dark: #000000;
JSON
{
  "hex": "#188d21",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 124.615,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.17423,
    "h": 143.6
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

primary
#188D21
secondary
#BF42B6
accent
#3AE0EE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188D21

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

Preview Lab → · Contrast checker → · Palette generator →

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