#17771C#17771C

#17771C is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.152 H 143.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#17771C
RGBrgb(23, 119, 28)
HSLhsl(123, 68%, 28%)
HSVhsv(123, 81%, 47%)
CMYKcmyk(80.7%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.45, -45.07, 40.02)
CIE-LCHlch(43.45, 60.28, 138.40°)
OKLaboklab(49.77% -0.1221 0.0906)
OKLCHoklch(49.77% 0.152 143.4)
XYZxyz(7.1593, 13.4588, 3.3189)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17771C #771772
analogous
#427717 #17771C #17774C
triadic
#17771C #1C1777 #771C17
tetradic
#17771C #174277 #771772 #774C17
square
#17771C #174277 #771772 #774C17
split-complementary
#17771C #4C1777 #771742
monochromatic
#051A06 #0D4410 #17771C #21AA28 #31D73A

Accessibility & contrast

On white

5.69
#17771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#17771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17771C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17771C#FFFFFF#000000##FFFFFF
##17771C1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #17771c;
/* rgb */ color: rgb(23, 119, 28);
/* oklch */ color: oklch(49.8% 0.152 143.4);
Tailwind
colors: {
  custom: {
    50: '#679f5f',
    500: '#17771c',
    950: '#000000',
  },
}
SCSS
$custom: #17771c;
$custom-light: #679f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#17771c",
  "rgb": {
    "r": 23,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 123.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.15207,
    "h": 143.4
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#17771C
secondary
#AC3EA6
accent
#3DE1EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #17771C

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

Preview Lab → · Contrast checker → · Palette generator →

#17771C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva