#17772F#17772F

#17772F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.138 H 147.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#17772F
RGBrgb(23, 119, 47)
HSLhsl(135, 68%, 28%)
HSVhsv(135, 81%, 47%)
CMYKcmyk(80.7%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.62, -42.90, 31.58)
CIE-LCHlch(43.62, 53.27, 143.64°)
OKLaboklab(49.98% -0.1154 0.0749)
OKLCHoklch(49.98% 0.138 147)
XYZxyz(7.4627, 13.5802, 4.9167)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17772F #77175F
analogous
#2F7717 #17772F #17775F
triadic
#17772F #2F1777 #772F17
tetradic
#17772F #172F77 #77175F #775F17
square
#17772F #172F77 #77175F #775F17
split-complementary
#17772F #5F1777 #77172F
monochromatic
#051A0A #0D441B #17772F #21AA43 #31D75B

Accessibility & contrast

On white

5.65
#17772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#17772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17772F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17772F#FFFFFF#000000##FFFFFF
##17772F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #17772f;
/* rgb */ color: rgb(23, 119, 47);
/* oklch */ color: oklch(50.0% 0.138 147.0);
Tailwind
colors: {
  custom: {
    50: '#669f6a',
    500: '#17772f',
    950: '#000000',
  },
}
SCSS
$custom: #17772f;
$custom-light: #669f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#17772f",
  "rgb": {
    "r": 23,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 135,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.13757,
    "h": 147
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#17772F
secondary
#AC3E91
accent
#3DBFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #17772F

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

Preview Lab → · Contrast checker → · Palette generator →

#17772F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva