#178220#178220

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

Color values

HEX#178220
RGBrgb(23, 130, 32)
HSLhsl(125, 70%, 30%)
HSVhsv(125, 82%, 51%)
CMYKcmyk(82.3%, 0%, 75.4%, 49%)
CIE-LABlab(47.30, -48.42, 42.38)
CIE-LCHlch(47.30, 64.34, 138.80°)
OKLaboklab(52.98% -0.131 0.0961)
OKLCHoklch(52.98% 0.162 143.7)
XYZxyz(8.5961, 16.2507, 4.0499)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178220 #821779
analogous
#438217 #178220 #178256
triadic
#178220 #201782 #822017
tetradic
#178220 #174382 #821779 #825617
square
#178220 #174382 #821779 #825617
split-complementary
#178220 #561782 #821743
monochromatic
#051A06 #0E4E13 #178220 #20B62D #38DC45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178220#FFFFFF#000000##FFFFFF
##1782201.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)
#85750E
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #178220;
/* rgb */ color: rgb(23, 130, 32);
/* oklch */ color: oklch(53.0% 0.162 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa762',
    500: '#178220',
    950: '#000000',
  },
}
SCSS
$custom: #178220;
$custom-light: #6aa762;
$custom-dark: #000000;
JSON
{
  "hex": "#178220",
  "rgb": {
    "r": 23,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 125.047,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.16248,
    "h": 143.7
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#178220
secondary
#B63EAC
accent
#3BDEED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #178220

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

Preview Lab → · Contrast checker → · Palette generator →

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