#177A1F#177A1F

#177A1F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.154 H 143.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#177A1F
RGBrgb(23, 122, 31)
HSLhsl(125, 68%, 28%)
HSVhsv(125, 81%, 48%)
CMYKcmyk(81.1%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.52, -45.82, 39.92)
CIE-LCHlch(44.52, 60.77, 138.94°)
OKLaboklab(50.67% -0.124 0.0908)
OKLCHoklch(50.67% 0.154 143.8)
XYZxyz(7.5597, 14.1993, 3.6384)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A1F #7A1772
analogous
#407A17 #177A1F #177A50
triadic
#177A1F #1F177A #7A1F17
tetradic
#177A1F #17407A #7A1772 #7A5017
square
#177A1F #17407A #7A1772 #7A5017
split-complementary
#177A1F #50177A #7A1740
monochromatic
#051A07 #0D4712 #177A1F #21AD2C #33D940

Accessibility & contrast

On white

5.47
#177A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#177A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A1F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A1F#FFFFFF#000000##FFFFFF
##177A1F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a1f;
/* rgb */ color: rgb(23, 122, 31);
/* oklch */ color: oklch(50.7% 0.154 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a161',
    500: '#177a1f',
    950: '#000000',
  },
}
SCSS
$custom: #177a1f;
$custom-light: #68a161;
$custom-dark: #000000;
JSON
{
  "hex": "#177a1f",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 124.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.15371,
    "h": 143.8
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#177A1F
secondary
#AF3EA6
accent
#3DDDEB
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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