#177E2A#177E2A

#177E2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.151 H 145.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#177E2A
RGBrgb(23, 126, 42)
HSLhsl(131, 69%, 29%)
HSVhsv(131, 82%, 49%)
CMYKcmyk(81.7%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.00, -46.03, 36.72)
CIE-LCHlch(46.00, 58.89, 141.42°)
OKLaboklab(51.93% -0.1241 0.0855)
OKLCHoklch(51.93% 0.151 145.4)
XYZxyz(8.2315, 15.2700, 4.7036)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E2A #7E176B
analogous
#387E17 #177E2A #177E5E
triadic
#177E2A #2A177E #7E2A17
tetradic
#177E2A #17387E #7E176B #7E5E17
square
#177E2A #17387E #7E176B #7E5E17
split-complementary
#177E2A #5E177E #7E1738
monochromatic
#051A09 #0E4A19 #177E2A #20B23B #35DA54

Accessibility & contrast

On white

5.18
#177E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#177E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E2A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E2A#FFFFFF#000000##FFFFFF
##177E2A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e2a;
/* rgb */ color: rgb(23, 126, 42);
/* oklch */ color: oklch(51.9% 0.151 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a467',
    500: '#177e2a',
    950: '#000000',
  },
}
SCSS
$custom: #177e2a;
$custom-light: #68a467;
$custom-dark: #000000;
JSON
{
  "hex": "#177e2a",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 131.068,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.15066,
    "h": 145.4
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#177E2A
secondary
#B33E9D
accent
#3CCBEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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