#177F1F#177F1F

#177F1F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.160 H 143.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#177F1F
RGBrgb(23, 127, 31)
HSLhsl(125, 69%, 29%)
HSVhsv(125, 82%, 50%)
CMYKcmyk(81.9%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.26, -47.51, 41.70)
CIE-LCHlch(46.26, 63.21, 138.72°)
OKLaboklab(52.11% -0.1286 0.0946)
OKLCHoklch(52.11% 0.16 143.7)
XYZxyz(8.1895, 15.4588, 3.8483)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F1F #7F1777
analogous
#437F17 #177F1F #177F53
triadic
#177F1F #1F177F #7F1F17
tetradic
#177F1F #17437F #7F1777 #7F5317
square
#177F1F #17437F #7F1777 #7F5317
split-complementary
#177F1F #53177F #7F1743
monochromatic
#051A06 #0E4B12 #177F1F #20B32C #36DB43

Accessibility & contrast

On white

5.13
#177F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#177F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F1F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F1F#FFFFFF#000000##FFFFFF
##177F1F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720D
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f1f;
/* rgb */ color: rgb(23, 127, 31);
/* oklch */ color: oklch(52.1% 0.160 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a561',
    500: '#177f1f',
    950: '#000000',
  },
}
SCSS
$custom: #177f1f;
$custom-light: #69a561;
$custom-dark: #000000;
JSON
{
  "hex": "#177f1f",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 124.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.15961,
    "h": 143.7
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#177F1F
secondary
#B43EAB
accent
#3CDFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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