#177F2A#177F2A

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

Color values

HEX#177F2A
RGBrgb(23, 127, 42)
HSLhsl(131, 69%, 29%)
HSVhsv(131, 82%, 50%)
CMYKcmyk(81.9%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.35, -46.38, 37.11)
CIE-LCHlch(46.35, 59.40, 141.34°)
OKLaboklab(52.22% -0.125 0.0863)
OKLCHoklch(52.22% 0.152 145.4)
XYZxyz(8.3600, 15.5271, 4.7465)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F2A #7F176C
analogous
#387F17 #177F2A #177F5E
triadic
#177F2A #2A177F #7F2A17
tetradic
#177F2A #17387F #7F176C #7F5E17
square
#177F2A #17387F #7F176C #7F5E17
split-complementary
#177F2A #5E177F #7F1738
monochromatic
#051A09 #0E4B19 #177F2A #20B33B #36DB54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177F2A#FFFFFF#000000##FFFFFF
##177F2A1.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)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f2a;
/* rgb */ color: rgb(23, 127, 42);
/* oklch */ color: oklch(52.2% 0.152 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a567',
    500: '#177f2a',
    950: '#000000',
  },
}
SCSS
$custom: #177f2a;
$custom-light: #68a567;
$custom-dark: #000000;
JSON
{
  "hex": "#177f2a",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 130.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.15189,
    "h": 145.4
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#177F2A
secondary
#B43E9E
accent
#3CCCEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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