#177B20#177B20

#177B20 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.154 H 143.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#177B20
RGBrgb(23, 123, 32)
HSLhsl(125, 68%, 29%)
HSVhsv(125, 81%, 48%)
CMYKcmyk(81.3%, 0%, 74%, 51.8%)
CIE-LABlab(44.87, -46.07, 39.88)
CIE-LCHlch(44.87, 60.94, 139.12°)
OKLaboklab(50.97% -0.1246 0.0909)
OKLCHoklch(50.97% 0.154 143.9)
XYZxyz(7.6965, 14.4514, 3.7500)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B20 #7B1772
analogous
#407B17 #177B20 #177B52
triadic
#177B20 #20177B #7B2017
tetradic
#177B20 #17407B #7B1772 #7B5217
square
#177B20 #17407B #7B1772 #7B5217
split-complementary
#177B20 #52177B #7B1740
monochromatic
#051A07 #0D4713 #177B20 #21AF2D #33D942

Accessibility & contrast

On white

5.40
#177B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#177B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B20
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B20#FFFFFF#000000##FFFFFF
##177B201.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F11
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b20;
/* rgb */ color: rgb(23, 123, 32);
/* oklch */ color: oklch(51.0% 0.154 143.9);
Tailwind
colors: {
  custom: {
    50: '#68a261',
    500: '#177b20',
    950: '#000000',
  },
}
SCSS
$custom: #177b20;
$custom-light: #68a261;
$custom-dark: #000000;
JSON
{
  "hex": "#177b20",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 125.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.15424,
    "h": 143.9
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#177B20
secondary
#B03EA6
accent
#3CDCEB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B20

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

Preview Lab → · Contrast checker → · Palette generator →

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