#177D1B#177D1B

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

Color values

HEX#177D1B
RGBrgb(23, 125, 27)
HSLhsl(122, 69%, 29%)
HSVhsv(122, 82%, 49%)
CMYKcmyk(81.6%, 0%, 78.4%, 51%)
CIE-LABlab(45.53, -47.18, 42.49)
CIE-LCHlch(45.53, 63.49, 137.99°)
OKLaboklab(51.5% -0.1279 0.0956)
OKLCHoklch(51.5% 0.16 143.2)
XYZxyz(7.8843, 14.9276, 3.5025)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D1B #7D1779
analogous
#467D17 #177D1B #177D4E
triadic
#177D1B #1B177D #7D1B17
tetradic
#177D1B #17467D #7D1779 #7D4E17
square
#177D1B #17467D #7D1779 #7D4E17
split-complementary
#177D1B #4E177D #7D1746
monochromatic
#051A06 #0D4910 #177D1B #21B126 #35DA3B

Accessibility & contrast

On white

5.27
#177D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177D1B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D1B#FFFFFF#000000##FFFFFF
##177D1B1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807005
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d1b;
/* rgb */ color: rgb(23, 125, 27);
/* oklch */ color: oklch(51.5% 0.160 143.2);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#177d1b',
    950: '#000000',
  },
}
SCSS
$custom: #177d1b;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#177d1b",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 122.353,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.15967,
    "h": 143.2
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #177D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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