#177F20#177F20

#177F20 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.159 H 143.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#177F20
RGBrgb(23, 127, 32)
HSLhsl(125, 69%, 29%)
HSVhsv(125, 82%, 50%)
CMYKcmyk(81.9%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.26, -47.42, 41.32)
CIE-LCHlch(46.26, 62.89, 138.93°)
OKLaboklab(52.12% -0.1283 0.0939)
OKLCHoklch(52.12% 0.159 143.8)
XYZxyz(8.2029, 15.4642, 3.9188)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F20 #7F1776
analogous
#427F17 #177F20 #177F54
triadic
#177F20 #20177F #7F2017
tetradic
#177F20 #17427F #7F1776 #7F5417
square
#177F20 #17427F #7F1776 #7F5417
split-complementary
#177F20 #54177F #7F1742
monochromatic
#051A07 #0E4B13 #177F20 #20B32D #36DB44

Accessibility & contrast

On white

5.13
#177F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#177F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F20
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F20#FFFFFF#000000##FFFFFF
##177F201.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#766B2A
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f20;
/* rgb */ color: rgb(23, 127, 32);
/* oklch */ color: oklch(52.1% 0.159 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a562',
    500: '#177f20',
    950: '#000000',
  },
}
SCSS
$custom: #177f20;
$custom-light: #69a562;
$custom-dark: #000000;
JSON
{
  "hex": "#177f20",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 125.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52121,
    "c": 0.15898,
    "h": 143.8
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#177F20
secondary
#B43EA9
accent
#3CDDEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177F20

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

Preview Lab → · Contrast checker → · Palette generator →

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