#177F2E#177F2E

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

Color values

HEX#177F2E
RGBrgb(23, 127, 46)
HSLhsl(133, 69%, 29%)
HSVhsv(133, 82%, 50%)
CMYKcmyk(81.9%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.39, -45.89, 35.27)
CIE-LCHlch(46.39, 57.88, 142.45°)
OKLaboklab(52.26% -0.1235 0.0828)
OKLCHoklch(52.26% 0.149 146.2)
XYZxyz(8.4352, 15.5571, 5.1425)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F2E #7F1768
analogous
#347F17 #177F2E #177F62
triadic
#177F2E #2E177F #7F2E17
tetradic
#177F2E #17347F #7F1768 #7F6217
square
#177F2E #17347F #7F1768 #7F6217
split-complementary
#177F2E #62177F #7F1734
monochromatic
#051A09 #0E4B1B #177F2E #20B341 #36DB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177F2E#FFFFFF#000000##FFFFFF
##177F2E1.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)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f2e;
/* rgb */ color: rgb(23, 127, 46);
/* oklch */ color: oklch(52.3% 0.149 146.2);
Tailwind
colors: {
  custom: {
    50: '#68a56a',
    500: '#177f2e',
    950: '#000000',
  },
}
SCSS
$custom: #177f2e;
$custom-light: #68a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#177f2e",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 133.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.14868,
    "h": 146.2
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#177F2E
secondary
#B43E9A
accent
#3CC5EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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