#188D22#188D22

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

Color values

HEX#188D22
RGBrgb(24, 141, 34)
HSLhsl(125, 71%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(83%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.10, -51.71, 45.48)
CIE-LCHlch(51.10, 68.87, 138.67°)
OKLaboklab(56.16% -0.1399 0.1028)
OKLCHoklch(56.16% 0.174 143.7)
XYZxyz(10.1896, 19.3582, 4.7125)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D22 #8D1883
analogous
#498D18 #188D22 #188D5C
triadic
#188D22 #22188D #8D2218
tetradic
#188D22 #18498D #8D1883 #8D5C18
square
#188D22 #18498D #8D1883 #8D5C18
split-complementary
#188D22 #5C188D #8D1849
monochromatic
#062409 #0F5915 #188D22 #21C12F #41DF4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188D22#FFFFFF#000000##000000
##188D221.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)
#907F0D
Deuteranopia (green-blind)
#84762E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d22;
/* rgb */ color: rgb(24, 141, 34);
/* oklch */ color: oklch(56.2% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#6daf65',
    500: '#188d22',
    950: '#000000',
  },
}
SCSS
$custom: #188d22;
$custom-light: #6daf65;
$custom-dark: #000000;
JSON
{
  "hex": "#188d22",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 125.128,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.17366,
    "h": 143.7
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#188D22
secondary
#BF42B4
accent
#3ADEEE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188D22

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

Preview Lab → · Contrast checker → · Palette generator →

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