#188221#188221

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

Color values

HEX#188221
RGBrgb(24, 130, 33)
HSLhsl(125, 69%, 30%)
HSVhsv(125, 82%, 51%)
CMYKcmyk(81.5%, 0%, 74.6%, 49%)
CIE-LABlab(47.32, -48.19, 42.02)
CIE-LCHlch(47.32, 63.94, 138.92°)
OKLaboklab(53.01% -0.1304 0.0955)
OKLCHoklch(53.01% 0.162 143.8)
XYZxyz(8.6333, 16.2682, 4.1236)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188221 #821879
analogous
#448218 #188221 #188256
triadic
#188221 #211882 #822118
tetradic
#188221 #184482 #821879 #825618
square
#188221 #184482 #821879 #825618
split-complementary
#188221 #561882 #821844
monochromatic
#051B07 #0E4E14 #188221 #22B62E #3ADB47

Accessibility & contrast

On white

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

On black

4.25
#188221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##188221#FFFFFF#000000##FFFFFF
##1882211.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188221;
/* rgb */ color: rgb(24, 130, 33);
/* oklch */ color: oklch(53.0% 0.162 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#188221',
    950: '#000000',
  },
}
SCSS
$custom: #188221;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#188221",
  "rgb": {
    "r": 24,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 125.094,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.16161,
    "h": 143.8
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#188221
secondary
#B640AC
accent
#3CDDEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #188221

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

Preview Lab → · Contrast checker → · Palette generator →

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