#177E20#177E20

#177E20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.158 H 143.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#177E20
RGBrgb(23, 126, 32)
HSLhsl(125, 69%, 29%)
HSVhsv(125, 82%, 49%)
CMYKcmyk(81.7%, 0%, 74.6%, 50.6%)
CIE-LABlab(45.92, -47.08, 40.96)
CIE-LCHlch(45.92, 62.41, 138.98°)
OKLaboklab(51.83% -0.1274 0.0932)
OKLCHoklch(51.83% 0.158 143.8)
XYZxyz(8.0744, 15.2072, 3.8760)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E20 #7E1775
analogous
#427E17 #177E20 #177E54
triadic
#177E20 #20177E #7E2017
tetradic
#177E20 #17427E #7E1775 #7E5417
square
#177E20 #17427E #7E1775 #7E5417
split-complementary
#177E20 #54177E #7E1742
monochromatic
#051A07 #0E4A13 #177E20 #20B22D #35DA44

Accessibility & contrast

On white

5.20
#177E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#177E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E20
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E20#FFFFFF#000000##FFFFFF
##177E201.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817110
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e20;
/* rgb */ color: rgb(23, 126, 32);
/* oklch */ color: oklch(51.8% 0.158 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a462',
    500: '#177e20',
    950: '#000000',
  },
}
SCSS
$custom: #177e20;
$custom-light: #69a462;
$custom-dark: #000000;
JSON
{
  "hex": "#177e20",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 125.243,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51833,
    "c": 0.15781,
    "h": 143.8
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#177E20
secondary
#B33EA8
accent
#3CDDEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177E20

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

Preview Lab → · Contrast checker → · Palette generator →

#177E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva