#177D1F#177D1F

#177D1F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.157 H 143.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#177D1F
RGBrgb(23, 125, 31)
HSLhsl(125, 69%, 29%)
HSVhsv(125, 82%, 49%)
CMYKcmyk(81.6%, 0%, 75.2%, 51%)
CIE-LABlab(45.56, -46.84, 40.99)
CIE-LCHlch(45.56, 62.24, 138.81°)
OKLaboklab(51.54% -0.1268 0.0931)
OKLCHoklch(51.54% 0.157 143.7)
XYZxyz(7.9338, 14.9474, 3.7631)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D1F #7D1775
analogous
#427D17 #177D1F #177D52
triadic
#177D1F #1F177D #7D1F17
tetradic
#177D1F #17427D #7D1775 #7D5217
square
#177D1F #17427D #7D1775 #7D5217
split-complementary
#177D1F #52177D #7D1742
monochromatic
#051A06 #0D4912 #177D1F #21B12C #35DA42

Accessibility & contrast

On white

5.26
#177D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#177D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D1F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D1F#FFFFFF#000000##FFFFFF
##177D1F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d1f;
/* rgb */ color: rgb(23, 125, 31);
/* oklch */ color: oklch(51.5% 0.157 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a461',
    500: '#177d1f',
    950: '#000000',
  },
}
SCSS
$custom: #177d1f;
$custom-light: #69a461;
$custom-dark: #000000;
JSON
{
  "hex": "#177d1f",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 124.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.15726,
    "h": 143.7
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#177D1F
secondary
#B23EA9
accent
#3CDEEC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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