#17771B#17771B

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

Color values

HEX#17771B
RGBrgb(23, 119, 27)
HSLhsl(123, 68%, 28%)
HSVhsv(123, 81%, 47%)
CMYKcmyk(80.7%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.44, -45.16, 40.40)
CIE-LCHlch(43.44, 60.59, 138.19°)
OKLaboklab(49.76% -0.1224 0.0913)
OKLCHoklch(49.76% 0.153 143.3)
XYZxyz(7.1475, 13.4541, 3.2569)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17771B #771773
analogous
#437717 #17771B #17774B
triadic
#17771B #1B1777 #771B17
tetradic
#17771B #174377 #771773 #774B17
square
#17771B #174377 #771773 #774B17
split-complementary
#17771B #4B1777 #771743
monochromatic
#051A06 #0D440F #17771B #21AA27 #31D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17771B#FFFFFF#000000##FFFFFF
##17771B1.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)
#7A6B09
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #17771b;
/* rgb */ color: rgb(23, 119, 27);
/* oklch */ color: oklch(49.8% 0.153 143.3);
Tailwind
colors: {
  custom: {
    50: '#679f5e',
    500: '#17771b',
    950: '#000000',
  },
}
SCSS
$custom: #17771b;
$custom-light: #679f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#17771b",
  "rgb": {
    "r": 23,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 122.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.15268,
    "h": 143.3
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#17771B
secondary
#AC3EA8
accent
#3DE3EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #17771B

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

Preview Lab → · Contrast checker → · Palette generator →

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