#177D23#177D23

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

Color values

HEX#177D23
RGBrgb(23, 125, 35)
HSLhsl(127, 69%, 29%)
HSVhsv(127, 82%, 49%)
CMYKcmyk(81.6%, 0%, 72%, 51%)
CIE-LABlab(45.59, -46.46, 39.39)
CIE-LCHlch(45.59, 60.91, 139.71°)
OKLaboklab(51.57% -0.1255 0.0902)
OKLCHoklch(51.57% 0.155 144.3)
XYZxyz(7.9898, 14.9698, 4.0582)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D23 #7D1771
analogous
#3E7D17 #177D23 #177D56
triadic
#177D23 #23177D #7D2317
tetradic
#177D23 #173E7D #7D1771 #7D5617
square
#177D23 #173E7D #7D1771 #7D5617
split-complementary
#177D23 #56177D #7D173E
monochromatic
#051A07 #0D4915 #177D23 #21B131 #35DA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177D23#FFFFFF#000000##FFFFFF
##177D231.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)
#7F7116
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d23;
/* rgb */ color: rgb(23, 125, 35);
/* oklch */ color: oklch(51.6% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a463',
    500: '#177d23',
    950: '#000000',
  },
}
SCSS
$custom: #177d23;
$custom-light: #68a463;
$custom-dark: #000000;
JSON
{
  "hex": "#177d23",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 127.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.1546,
    "h": 144.3
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#177D23
secondary
#B23EA4
accent
#3CD7EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177D23

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

Preview Lab → · Contrast checker → · Palette generator →

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