#178520#178520

#178520 is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.8% C 0.166 H 143.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#178520
RGBrgb(23, 133, 32)
HSLhsl(125, 71%, 31%)
HSVhsv(125, 83%, 52%)
CMYKcmyk(82.7%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.34, -49.41, 43.43)
CIE-LCHlch(48.34, 65.78, 138.68°)
OKLaboklab(53.85% -0.1337 0.0983)
OKLCHoklch(53.85% 0.166 143.7)
XYZxyz(9.0010, 17.0604, 4.1848)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178520 #85177C
analogous
#458517 #178520 #178557
triadic
#178520 #201785 #852017
tetradic
#178520 #174585 #85177C #855717
square
#178520 #174585 #85177C #855717
split-complementary
#178520 #571785 #851745
monochromatic
#051D07 #0E5113 #178520 #20B92D #3ADD47

Accessibility & contrast

On white

4.76
#178520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#178520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178520
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178520#FFFFFF#000000##FFFFFF
##1785201.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7C702B
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #178520;
/* rgb */ color: rgb(23, 133, 32);
/* oklch */ color: oklch(53.8% 0.166 143.7);
Tailwind
colors: {
  custom: {
    50: '#6baa63',
    500: '#178520',
    950: '#000000',
  },
}
SCSS
$custom: #178520;
$custom-light: #6baa63;
$custom-dark: #000000;
JSON
{
  "hex": "#178520",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 124.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.16594,
    "h": 143.7
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#178520
secondary
#B93FAF
accent
#3BDFED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #178520

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

Preview Lab → · Contrast checker → · Palette generator →

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