#177D20#177D20

#177D20 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.5% C 0.157 H 143.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#177D20
RGBrgb(23, 125, 32)
HSLhsl(125, 69%, 29%)
HSVhsv(125, 82%, 49%)
CMYKcmyk(81.6%, 0%, 74.4%, 51%)
CIE-LABlab(45.57, -46.75, 40.60)
CIE-LCHlch(45.57, 61.92, 139.02°)
OKLaboklab(51.54% -0.1265 0.0924)
OKLCHoklch(51.54% 0.157 143.8)
XYZxyz(7.9471, 14.9527, 3.8335)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D20 #7D1774
analogous
#417D17 #177D20 #177D53
triadic
#177D20 #20177D #7D2017
tetradic
#177D20 #17417D #7D1774 #7D5317
square
#177D20 #17417D #7D1774 #7D5317
split-complementary
#177D20 #53177D #7D1741
monochromatic
#051A07 #0D4913 #177D20 #21B12D #35DA43

Accessibility & contrast

On white

5.26
#177D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#177D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D20
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D20#FFFFFF#000000##FFFFFF
##177D201.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d20;
/* rgb */ color: rgb(23, 125, 32);
/* oklch */ color: oklch(51.5% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a461',
    500: '#177d20',
    950: '#000000',
  },
}
SCSS
$custom: #177d20;
$custom-light: #68a461;
$custom-dark: #000000;
JSON
{
  "hex": "#177d20",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 125.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.15662,
    "h": 143.8
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#177D20
secondary
#B23EA8
accent
#3CDCEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177D20

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

Preview Lab → · Contrast checker → · Palette generator →

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