#177F2F#177F2F

#177F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 146.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#177F2F
RGBrgb(23, 127, 47)
HSLhsl(134, 69%, 29%)
HSVhsv(134, 82%, 50%)
CMYKcmyk(81.9%, 0%, 63%, 50.2%)
CIE-LABlab(46.40, -45.76, 34.80)
CIE-LCHlch(46.40, 57.49, 142.74°)
OKLaboklab(52.28% -0.1231 0.0818)
OKLCHoklch(52.28% 0.148 146.4)
XYZxyz(8.4552, 15.5651, 5.2475)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F2F #7F1767
analogous
#337F17 #177F2F #177F63
triadic
#177F2F #2F177F #7F2F17
tetradic
#177F2F #17337F #7F1767 #7F6317
square
#177F2F #17337F #7F1767 #7F6317
split-complementary
#177F2F #63177F #7F1733
monochromatic
#051A0A #0E4B1C #177F2F #20B342 #36DB5C

Accessibility & contrast

On white

5.11
#177F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#177F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F2F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F2F#FFFFFF#000000##FFFFFF
##177F2F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f2f;
/* rgb */ color: rgb(23, 127, 47);
/* oklch */ color: oklch(52.3% 0.148 146.4);
Tailwind
colors: {
  custom: {
    50: '#68a56a',
    500: '#177f2f',
    950: '#000000',
  },
}
SCSS
$custom: #177f2f;
$custom-light: #68a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#177f2f",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 133.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52277,
    "c": 0.14786,
    "h": 146.4
  },
  "luminance": 0.15566
}

Semantic roles & 50–950 ramp

primary
#177F2F
secondary
#B43E98
accent
#3CC3EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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