#177F24#177F24

#177F24 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.156 H 144.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#177F24
RGBrgb(23, 127, 36)
HSLhsl(128, 69%, 29%)
HSVhsv(128, 82%, 50%)
CMYKcmyk(81.9%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.29, -47.03, 39.71)
CIE-LCHlch(46.29, 61.55, 139.83°)
OKLaboklab(52.16% -0.1271 0.091)
OKLCHoklch(52.16% 0.156 144.4)
XYZxyz(8.2606, 15.4873, 4.2227)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F24 #7F1772
analogous
#3E7F17 #177F24 #177F58
triadic
#177F24 #24177F #7F2417
tetradic
#177F24 #173E7F #7F1772 #7F5817
square
#177F24 #173E7F #7F1772 #7F5817
split-complementary
#177F24 #58177F #7F173E
monochromatic
#051A07 #0E4B15 #177F24 #20B333 #36DB4A

Accessibility & contrast

On white

5.12
#177F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#177F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F24
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F24#FFFFFF#000000##FFFFFF
##177F241.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f24;
/* rgb */ color: rgb(23, 127, 36);
/* oklch */ color: oklch(52.2% 0.156 144.4);
Tailwind
colors: {
  custom: {
    50: '#69a564',
    500: '#177f24',
    950: '#000000',
  },
}
SCSS
$custom: #177f24;
$custom-light: #69a564;
$custom-dark: #000000;
JSON
{
  "hex": "#177f24",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 127.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.15631,
    "h": 144.4
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#177F24
secondary
#B43EA5
accent
#3CD6EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177F24

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

Preview Lab → · Contrast checker → · Palette generator →

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