#188E21#188E21

#188E21 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.175 H 143.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#188E21
RGBrgb(24, 142, 33)
HSLhsl(125, 71%, 33%)
HSVhsv(125, 83%, 56%)
CMYKcmyk(83.1%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.44, -52.12, 46.18)
CIE-LCHlch(51.44, 69.63, 138.46°)
OKLaboklab(56.43% -0.1411 0.1042)
OKLCHoklch(56.43% 0.175 143.6)
XYZxyz(10.3235, 19.6487, 4.6870)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E21 #8E1885
analogous
#4A8E18 #188E21 #188E5C
triadic
#188E21 #21188E #8E2118
tetradic
#188E21 #184A8E #8E1885 #8E5C18
square
#188E21 #184A8E #8E1885 #8E5C18
split-complementary
#188E21 #5C188E #8E184A
monochromatic
#062509 #0F5A15 #188E21 #21C22D #41DF4D

Accessibility & contrast

On white

4.26
#188E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#188E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E21
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E21#FFFFFF#000000##000000
##188E211.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188e21;
/* rgb */ color: rgb(24, 142, 33);
/* oklch */ color: oklch(56.4% 0.175 143.6);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#188e21',
    950: '#000000',
  },
}
SCSS
$custom: #188e21;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#188e21",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 124.576,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.17536,
    "h": 143.6
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #188E21

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

Preview Lab → · Contrast checker → · Palette generator →

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