#177F1B#177F1B

#177F1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.162 H 143.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#177F1B
RGBrgb(23, 127, 27)
HSLhsl(122, 69%, 29%)
HSVhsv(122, 82%, 50%)
CMYKcmyk(81.9%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.23, -47.84, 43.17)
CIE-LCHlch(46.23, 64.44, 137.93°)
OKLaboklab(52.08% -0.1297 0.0971)
OKLCHoklch(52.08% 0.162 143.2)
XYZxyz(8.1400, 15.4391, 3.5877)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F1B #7F177B
analogous
#477F17 #177F1B #177F4F
triadic
#177F1B #1B177F #7F1B17
tetradic
#177F1B #17477F #7F177B #7F4F17
square
#177F1B #17477F #7F177B #7F4F17
split-complementary
#177F1B #4F177F #7F1747
monochromatic
#051A06 #0E4B10 #177F1B #20B326 #36DB3C

Accessibility & contrast

On white

5.14
#177F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177F1B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F1B#FFFFFF#000000##FFFFFF
##177F1B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177f1b;
/* rgb */ color: rgb(23, 127, 27);
/* oklch */ color: oklch(52.1% 0.162 143.2);
Tailwind
colors: {
  custom: {
    50: '#69a55f',
    500: '#177f1b',
    950: '#000000',
  },
}
SCSS
$custom: #177f1b;
$custom-light: #69a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#177f1b",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 122.308,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.16197,
    "h": 143.2
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#177F1B
secondary
#B43EAF
accent
#3CE5EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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