#188C22#188C22

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

Color values

HEX#188C22
RGBrgb(24, 140, 34)
HSLhsl(125, 71%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(82.9%, 0%, 75.7%, 45.1%)
CIE-LABlab(50.76, -51.39, 45.13)
CIE-LCHlch(50.76, 68.40, 138.71°)
OKLaboklab(55.87% -0.139 0.1021)
OKLCHoklch(55.87% 0.173 143.7)
XYZxyz(10.0428, 19.0646, 4.6636)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C22 #8C1882
analogous
#488C18 #188C22 #188C5C
triadic
#188C22 #22188C #8C2218
tetradic
#188C22 #18488C #8C1882 #8C5C18
square
#188C22 #18488C #8C1882 #8C5C18
split-complementary
#188C22 #5C188C #8C1848
monochromatic
#062409 #0F5815 #188C22 #21C02F #40DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188C22#FFFFFF#000000##000000
##188C221.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)
#8F7E0D
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c22;
/* rgb */ color: rgb(24, 140, 34);
/* oklch */ color: oklch(55.9% 0.173 143.7);
Tailwind
colors: {
  custom: {
    50: '#6daf64',
    500: '#188c22',
    950: '#000000',
  },
}
SCSS
$custom: #188c22;
$custom-light: #6daf64;
$custom-dark: #000000;
JSON
{
  "hex": "#188c22",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 125.172,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55872,
    "c": 0.17252,
    "h": 143.7
  },
  "luminance": 0.19066
}

Semantic roles & 50–950 ramp

primary
#188C22
secondary
#BF41B4
accent
#3ADEED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188C22

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

Preview Lab → · Contrast checker → · Palette generator →

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