#177E1A#177E1A

#177E1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.161 H 143.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#177E1A
RGBrgb(23, 126, 26)
HSLhsl(122, 69%, 29%)
HSVhsv(122, 82%, 49%)
CMYKcmyk(81.7%, 0%, 79.4%, 50.6%)
CIE-LABlab(45.88, -47.58, 43.18)
CIE-LCHlch(45.88, 64.26, 137.78°)
OKLaboklab(51.79% -0.129 0.0969)
OKLCHoklch(51.79% 0.161 143.1)
XYZxyz(8.0001, 15.1775, 3.4850)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E1A #7E177B
analogous
#487E17 #177E1A #177E4E
triadic
#177E1A #1A177E #7E1A17
tetradic
#177E1A #17487E #7E177B #7E4E17
square
#177E1A #17487E #7E177B #7E4E17
split-complementary
#177E1A #4E177E #7E1748
monochromatic
#051A05 #0E4A0F #177E1A #20B225 #35DA3A

Accessibility & contrast

On white

5.20
#177E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#177E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E1A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E1A#FFFFFF#000000##FFFFFF
##177E1A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e1a;
/* rgb */ color: rgb(23, 126, 26);
/* oklch */ color: oklch(51.8% 0.161 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#177e1a',
    950: '#000000',
  },
}
SCSS
$custom: #177e1a;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#177e1a",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 121.748,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.16138,
    "h": 143.1
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#177E1A
secondary
#B33EAF
accent
#3CE7EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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