#177F2B#177F2B

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

Color values

HEX#177F2B
RGBrgb(23, 127, 43)
HSLhsl(132, 69%, 29%)
HSVhsv(132, 82%, 50%)
CMYKcmyk(81.9%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.36, -46.26, 36.66)
CIE-LCHlch(46.36, 59.02, 141.61°)
OKLaboklab(52.23% -0.1247 0.0854)
OKLCHoklch(52.23% 0.151 145.6)
XYZxyz(8.3782, 15.5343, 4.8419)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F2B #7F176B
analogous
#377F17 #177F2B #177F5F
triadic
#177F2B #2B177F #7F2B17
tetradic
#177F2B #17377F #7F176B #7F5F17
square
#177F2B #17377F #7F176B #7F5F17
split-complementary
#177F2B #5F177F #7F1737
monochromatic
#051A09 #0E4B19 #177F2B #20B33D #36DB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #177f2b;
/* rgb */ color: rgb(23, 127, 43);
/* oklch */ color: oklch(52.2% 0.151 145.6);
Tailwind
colors: {
  custom: {
    50: '#68a568',
    500: '#177f2b',
    950: '#000000',
  },
}
SCSS
$custom: #177f2b;
$custom-light: #68a568;
$custom-dark: #000000;
JSON
{
  "hex": "#177f2b",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 131.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.15111,
    "h": 145.6
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#177F2B
secondary
#B43E9D
accent
#3CCAEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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