#188C21#188C21

#188C21 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.173 H 143.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#188C21
RGBrgb(24, 140, 33)
HSLhsl(125, 71%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(82.9%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.76, -51.47, 45.50)
CIE-LCHlch(50.76, 68.70, 138.53°)
OKLaboklab(55.86% -0.1393 0.1028)
OKLCHoklch(55.86% 0.173 143.6)
XYZxyz(10.0286, 19.0589, 4.5887)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C21 #8C1883
analogous
#498C18 #188C21 #188C5B
triadic
#188C21 #21188C #8C2118
tetradic
#188C21 #18498C #8C1883 #8C5B18
square
#188C21 #18498C #8C1883 #8C5B18
split-complementary
#188C21 #5B188C #8C1849
monochromatic
#062408 #0F5815 #188C21 #21C02D #40DE4C

Accessibility & contrast

On white

4.36
#188C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#188C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188C21
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188C21#FFFFFF#000000##000000
##188C211.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c21;
/* rgb */ color: rgb(24, 140, 33);
/* oklch */ color: oklch(55.9% 0.173 143.6);
Tailwind
colors: {
  custom: {
    50: '#6daf64',
    500: '#188c21',
    950: '#000000',
  },
}
SCSS
$custom: #188c21;
$custom-light: #6daf64;
$custom-dark: #000000;
JSON
{
  "hex": "#188c21",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 124.655,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.17311,
    "h": 143.6
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#188C21
secondary
#BF41B5
accent
#3AE0ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188C21

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

Preview Lab → · Contrast checker → · Palette generator →

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