#178420#178420

#178420 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.165 H 143.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#178420
RGBrgb(23, 132, 32)
HSLhsl(125, 70%, 30%)
HSVhsv(125, 83%, 52%)
CMYKcmyk(82.6%, 0%, 75.8%, 48.2%)
CIE-LABlab(47.99, -49.08, 43.08)
CIE-LCHlch(47.99, 65.30, 138.72°)
OKLaboklab(53.56% -0.1328 0.0976)
OKLCHoklch(53.56% 0.165 143.7)
XYZxyz(8.8647, 16.7879, 4.1394)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178420 #84177B
analogous
#448417 #178420 #178456
triadic
#178420 #201784 #842017
tetradic
#178420 #174484 #84177B #845617
square
#178420 #174484 #84177B #845617
split-complementary
#178420 #561784 #841744
monochromatic
#051C07 #0E5013 #178420 #20B82D #39DC46

Accessibility & contrast

On white

4.82
#178420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#178420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178420
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178420#FFFFFF#000000##FFFFFF
##1784201.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #178420;
/* rgb */ color: rgb(23, 132, 32);
/* oklch */ color: oklch(53.6% 0.165 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa962',
    500: '#178420',
    950: '#000000',
  },
}
SCSS
$custom: #178420;
$custom-light: #6aa962;
$custom-dark: #000000;
JSON
{
  "hex": "#178420",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 124.954,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.16479,
    "h": 143.7
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178420

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

Preview Lab → · Contrast checker → · Palette generator →

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