#188F21#188F21

#188F21 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.176 H 143.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#188F21
RGBrgb(24, 143, 33)
HSLhsl(125, 71%, 33%)
HSVhsv(125, 83%, 56%)
CMYKcmyk(83.2%, 0%, 76.9%, 43.9%)
CIE-LABlab(51.78, -52.44, 46.52)
CIE-LCHlch(51.78, 70.10, 138.42°)
OKLaboklab(56.72% -0.1419 0.1049)
OKLCHoklch(56.72% 0.176 143.5)
XYZxyz(10.4730, 19.9476, 4.7369)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F21 #8F1886
analogous
#4A8F18 #188F21 #188F5D
triadic
#188F21 #21188F #8F2118
tetradic
#188F21 #184A8F #8F1886 #8F5D18
square
#188F21 #184A8F #8F1886 #8F5D18
split-complementary
#188F21 #5D188F #8F184A
monochromatic
#062609 #0F5B15 #188F21 #21C32D #42DF4E

Accessibility & contrast

On white

4.21
#188F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#188F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F21
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F21#FFFFFF#000000##000000
##188F211.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f21;
/* rgb */ color: rgb(24, 143, 33);
/* oklch */ color: oklch(56.7% 0.176 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eb164',
    500: '#188f21',
    950: '#000000',
  },
}
SCSS
$custom: #188f21;
$custom-light: #6eb164;
$custom-dark: #000000;
JSON
{
  "hex": "#188f21",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 124.538,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.17648,
    "h": 143.5
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#188F21
secondary
#C043B7
accent
#3AE0EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188F21

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

Preview Lab → · Contrast checker → · Palette generator →

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