#177217#177217

#177217 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.149 H 142.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#177217
RGBrgb(23, 114, 23)
HSLhsl(120, 66%, 27%)
HSVhsv(120, 80%, 45%)
CMYKcmyk(79.8%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.65, -43.78, 40.12)
CIE-LCHlch(41.65, 59.38, 137.50°)
OKLaboklab(48.27% -0.1188 0.0901)
OKLCHoklch(48.27% 0.149 142.8)
XYZxyz(6.5249, 12.2779, 2.8364)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177217 #721772
analogous
#457217 #177217 #177245
triadic
#177217 #171772 #721717
tetradic
#177217 #174572 #721772 #724517
square
#177217 #174572 #721772 #724517
split-complementary
#177217 #451772 #721745
monochromatic
#051905 #0D3F0D #177217 #21A521 #2ED52E

Accessibility & contrast

On white

6.08
#177217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#177217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177217
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177217#FFFFFF#000000##FFFFFF
##1772171.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177217;
/* rgb */ color: rgb(23, 114, 23);
/* oklch */ color: oklch(48.3% 0.149 142.8);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#177217',
    950: '#000000',
  },
}
SCSS
$custom: #177217;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#177217",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48269,
    "c": 0.14914,
    "h": 142.8
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#177217
secondary
#A83DA8
accent
#3EE9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177217

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

Preview Lab → · Contrast checker → · Palette generator →

#177217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva