#188F22#188F22

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

Color values

HEX#188F22
RGBrgb(24, 143, 34)
HSLhsl(125, 71%, 33%)
HSVhsv(125, 83%, 56%)
CMYKcmyk(83.2%, 0%, 76.2%, 43.9%)
CIE-LABlab(51.78, -52.36, 46.16)
CIE-LCHlch(51.78, 69.80, 138.60°)
OKLaboklab(56.72% -0.1417 0.1043)
OKLCHoklch(56.72% 0.176 143.6)
XYZxyz(10.4872, 19.9533, 4.8117)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F22 #8F1885
analogous
#498F18 #188F22 #188F5D
triadic
#188F22 #22188F #8F2218
tetradic
#188F22 #18498F #8F1885 #8F5D18
square
#188F22 #18498F #8F1885 #8F5D18
split-complementary
#188F22 #5D188F #8F1849
monochromatic
#062609 #0F5B16 #188F22 #21C32E #42DF4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188F22#FFFFFF#000000##000000
##188F221.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)
#92810C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f22;
/* rgb */ color: rgb(24, 143, 34);
/* oklch */ color: oklch(56.7% 0.176 143.6);
Tailwind
colors: {
  custom: {
    50: '#6db165',
    500: '#188f22',
    950: '#000000',
  },
}
SCSS
$custom: #188f22;
$custom-light: #6db165;
$custom-dark: #000000;
JSON
{
  "hex": "#188f22",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 125.042,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.17591,
    "h": 143.6
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#188F22
secondary
#C043B6
accent
#3ADFEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #188F22

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

Preview Lab → · Contrast checker → · Palette generator →

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