#178222#178222

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

Color values

HEX#178222
RGBrgb(23, 130, 34)
HSLhsl(126, 70%, 30%)
HSVhsv(126, 82%, 51%)
CMYKcmyk(82.3%, 0%, 73.8%, 49%)
CIE-LABlab(47.32, -48.24, 41.60)
CIE-LCHlch(47.32, 63.70, 139.22°)
OKLaboklab(53% -0.1304 0.0948)
OKLCHoklch(53% 0.161 144)
XYZxyz(8.6241, 16.2619, 4.1974)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178222 #821777
analogous
#428217 #178222 #178257
triadic
#178222 #221782 #822217
tetradic
#178222 #174282 #821777 #825717
square
#178222 #174282 #821777 #825717
split-complementary
#178222 #571782 #821742
monochromatic
#051A07 #0E4E14 #178222 #20B630 #38DC49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178222#FFFFFF#000000##FFFFFF
##1782221.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)
#857512
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178222;
/* rgb */ color: rgb(23, 130, 34);
/* oklch */ color: oklch(53.0% 0.161 144.0);
Tailwind
colors: {
  custom: {
    50: '#6aa763',
    500: '#178222',
    950: '#000000',
  },
}
SCSS
$custom: #178222;
$custom-light: #6aa763;
$custom-dark: #000000;
JSON
{
  "hex": "#178222",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 126.168,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.16121,
    "h": 144
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#178222
secondary
#B63EAA
accent
#3BDAED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #178222

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

Preview Lab → · Contrast checker → · Palette generator →

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