#177F17#177F17

#177F17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.164 H 142.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#177F17
RGBrgb(23, 127, 23)
HSLhsl(120, 69%, 29%)
HSVhsv(120, 82%, 50%)
CMYKcmyk(81.9%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.21, -48.13, 44.52)
CIE-LCHlch(46.21, 65.56, 137.23°)
OKLaboklab(52.05% -0.1306 0.0993)
OKLCHoklch(52.05% 0.164 142.8)
XYZxyz(8.0969, 15.4218, 3.3604)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F17 #7F177F
analogous
#4B7F17 #177F17 #177F4B
triadic
#177F17 #17177F #7F1717
tetradic
#177F17 #174B7F #7F177F #7F4B17
square
#177F17 #174B7F #7F177F #7F4B17
split-complementary
#177F17 #4B177F #7F174B
monochromatic
#051A05 #0E4B0E #177F17 #20B320 #36DB36

Accessibility & contrast

On white

5.14
#177F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#177F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F17#FFFFFF#000000##FFFFFF
##177F171.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177f17;
/* rgb */ color: rgb(23, 127, 23);
/* oklch */ color: oklch(52.1% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a55d',
    500: '#177f17',
    950: '#000000',
  },
}
SCSS
$custom: #177f17;
$custom-light: #69a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#177f17",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.16408,
    "h": 142.8
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#177F17
secondary
#B43EB4
accent
#3CECEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #177F17

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

Preview Lab → · Contrast checker → · Palette generator →

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