#177B2F#177B2F

#177B2F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.143 H 146.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#177B2F
RGBrgb(23, 123, 47)
HSLhsl(134, 68%, 29%)
HSVhsv(134, 81%, 48%)
CMYKcmyk(81.3%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.01, -44.34, 33.20)
CIE-LCHlch(45.01, 55.40, 143.17°)
OKLaboklab(51.13% -0.1193 0.0784)
OKLCHoklch(51.13% 0.143 146.7)
XYZxyz(7.9488, 14.5524, 5.0787)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B2F #7B1763
analogous
#317B17 #177B2F #177B61
triadic
#177B2F #2F177B #7B2F17
tetradic
#177B2F #17317B #7B1763 #7B6117
square
#177B2F #17317B #7B1763 #7B6117
split-complementary
#177B2F #61177B #7B1731
monochromatic
#051A0A #0D471B #177B2F #21AF43 #33D95B

Accessibility & contrast

On white

5.37
#177B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#177B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B2F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B2F#FFFFFF#000000##FFFFFF
##177B2F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#726735
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b2f;
/* rgb */ color: rgb(23, 123, 47);
/* oklch */ color: oklch(51.1% 0.143 146.7);
Tailwind
colors: {
  custom: {
    50: '#67a26a',
    500: '#177b2f',
    950: '#000000',
  },
}
SCSS
$custom: #177b2f;
$custom-light: #67a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#177b2f",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 134.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.14276,
    "h": 146.7
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#177B2F
secondary
#B03E95
accent
#3CC1EB
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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