#188222#188222

#188222 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.0% C 0.161 H 143.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#188222
RGBrgb(24, 130, 34)
HSLhsl(126, 69%, 30%)
HSVhsv(126, 82%, 51%)
CMYKcmyk(81.5%, 0%, 73.8%, 49%)
CIE-LABlab(47.33, -48.10, 41.62)
CIE-LCHlch(47.33, 63.61, 139.13°)
OKLaboklab(53.02% -0.1301 0.0948)
OKLCHoklch(53.02% 0.161 143.9)
XYZxyz(8.6475, 16.2739, 4.1985)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188222 #821878
analogous
#438218 #188222 #188257
triadic
#188222 #221882 #822218
tetradic
#188222 #184382 #821878 #825718
square
#188222 #184382 #821878 #825718
split-complementary
#188222 #571882 #821843
monochromatic
#051B07 #0E4E14 #188222 #22B630 #3ADB49

Accessibility & contrast

On white

4.94
#188222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#188222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188222
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188222#FFFFFF#000000##FFFFFF
##1882221.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #188222;
/* rgb */ color: rgb(24, 130, 34);
/* oklch */ color: oklch(53.0% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#188222',
    950: '#000000',
  },
}
SCSS
$custom: #188222;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#188222",
  "rgb": {
    "r": 24,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 125.66,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.16098,
    "h": 143.9
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#188222
secondary
#B640AB
accent
#3CDBEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #188222

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

Preview Lab → · Contrast checker → · Palette generator →

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