#188822#188822

#188822 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.168 H 143.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#188822
RGBrgb(24, 136, 34)
HSLhsl(125, 70%, 31%)
HSVhsv(125, 82%, 53%)
CMYKcmyk(82.4%, 0%, 75%, 46.7%)
CIE-LABlab(49.40, -50.09, 43.74)
CIE-LCHlch(49.40, 66.50, 138.87°)
OKLaboklab(54.73% -0.1355 0.0992)
OKLCHoklch(54.73% 0.168 143.8)
XYZxyz(9.4689, 17.9169, 4.4723)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188822 #88187E
analogous
#468818 #188822 #18885A
triadic
#188822 #221888 #882218
tetradic
#188822 #184688 #88187E #885A18
square
#188822 #184688 #88187E #885A18
split-complementary
#188822 #5A1888 #881846
monochromatic
#062008 #0F5415 #188822 #21BC2F #3EDD4C

Accessibility & contrast

On white

4.58
#188822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#188822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188822
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188822#FFFFFF#000000##000000
##1888221.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0F
Deuteranopia (green-blind)
#7F722D
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #188822;
/* rgb */ color: rgb(24, 136, 34);
/* oklch */ color: oklch(54.7% 0.168 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cac64',
    500: '#188822',
    950: '#000000',
  },
}
SCSS
$custom: #188822;
$custom-light: #6cac64;
$custom-dark: #000000;
JSON
{
  "hex": "#188822",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 125.357,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.16794,
    "h": 143.8
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#188822
secondary
#BC40B1
accent
#3BDDED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188822

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

Preview Lab → · Contrast checker → · Palette generator →

#188822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva