#177D1C#177D1C

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

Color values

HEX#177D1C
RGBrgb(23, 125, 28)
HSLhsl(123, 69%, 29%)
HSVhsv(123, 82%, 49%)
CMYKcmyk(81.6%, 0%, 77.6%, 51%)
CIE-LABlab(45.54, -47.09, 42.13)
CIE-LCHlch(45.54, 63.19, 138.19°)
OKLaboklab(51.51% -0.1276 0.095)
OKLCHoklch(51.51% 0.159 143.3)
XYZxyz(7.8961, 14.9323, 3.5645)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D1C #7D1778
analogous
#457D17 #177D1C #177D4F
triadic
#177D1C #1C177D #7D1C17
tetradic
#177D1C #17457D #7D1778 #7D4F17
square
#177D1C #17457D #7D1778 #7D4F17
split-complementary
#177D1C #4F177D #7D1745
monochromatic
#051A06 #0D4910 #177D1C #21B128 #35DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177D1C#FFFFFF#000000##FFFFFF
##177D1C1.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)
#807008
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d1c;
/* rgb */ color: rgb(23, 125, 28);
/* oklch */ color: oklch(51.5% 0.159 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#177d1c',
    950: '#000000',
  },
}
SCSS
$custom: #177d1c;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#177d1c",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 122.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.15909,
    "h": 143.3
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#177D1C
secondary
#B23EAC
accent
#3CE3EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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