#177B1F#177B1F

#177B1F is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.155 H 143.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#177B1F
RGBrgb(23, 123, 31)
HSLhsl(125, 68%, 29%)
HSVhsv(125, 81%, 48%)
CMYKcmyk(81.3%, 0%, 74.8%, 51.8%)
CIE-LABlab(44.87, -46.16, 40.28)
CIE-LCHlch(44.87, 61.27, 138.89°)
OKLaboklab(50.96% -0.1249 0.0916)
OKLCHoklch(50.96% 0.155 143.8)
XYZxyz(7.6831, 14.4461, 3.6795)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B1F #7B1773
analogous
#417B17 #177B1F #177B51
triadic
#177B1F #1F177B #7B1F17
tetradic
#177B1F #17417B #7B1773 #7B5117
square
#177B1F #17417B #7B1773 #7B5117
split-complementary
#177B1F #51177B #7B1741
monochromatic
#051A06 #0D4712 #177B1F #21AF2C #33D941

Accessibility & contrast

On white

5.40
#177B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#177B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B1F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B1F#FFFFFF#000000##FFFFFF
##177B1F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b1f;
/* rgb */ color: rgb(23, 123, 31);
/* oklch */ color: oklch(51.0% 0.155 143.8);
Tailwind
colors: {
  custom: {
    50: '#68a261',
    500: '#177b1f',
    950: '#000000',
  },
}
SCSS
$custom: #177b1f;
$custom-light: #68a261;
$custom-dark: #000000;
JSON
{
  "hex": "#177b1f",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 124.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.1549,
    "h": 143.8
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#177B1F
secondary
#B03EA7
accent
#3CDDEB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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