#177D1A#177D1A

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

Color values

HEX#177D1A
RGBrgb(23, 125, 26)
HSLhsl(122, 69%, 29%)
HSVhsv(122, 82%, 49%)
CMYKcmyk(81.6%, 0%, 79.2%, 51%)
CIE-LABlab(45.53, -47.25, 42.84)
CIE-LCHlch(45.53, 63.78, 137.80°)
OKLaboklab(51.5% -0.1281 0.0962)
OKLCHoklch(51.5% 0.16 143.1)
XYZxyz(7.8729, 14.9230, 3.4426)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D1A #7D177A
analogous
#477D17 #177D1A #177D4D
triadic
#177D1A #1A177D #7D1A17
tetradic
#177D1A #17477D #7D177A #7D4D17
square
#177D1A #17477D #7D177A #7D4D17
split-complementary
#177D1A #4D177D #7D1747
monochromatic
#051A05 #0D490F #177D1A #21B125 #35DA39

Accessibility & contrast

On white

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

On black

3.98
#177D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177D1A#FFFFFF#000000##FFFFFF
##177D1A1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #177d1a;
/* rgb */ color: rgb(23, 125, 26);
/* oklch */ color: oklch(51.5% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#177d1a',
    950: '#000000',
  },
}
SCSS
$custom: #177d1a;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#177d1a",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 121.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.16023,
    "h": 143.1
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#177D1A
secondary
#B23EAE
accent
#3CE7EC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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