#ACC171#ACC171

#ACC171 is a light, moderate yellow-green. Relative luminance 0.481; OKLCH L 77.7% C 0.107 H 121.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#ACC171
RGBrgb(172, 193, 113)
HSLhsl(76, 39%, 60%)
HSVhsv(76, 41%, 76%)
CMYKcmyk(10.9%, 0%, 41.5%, 24.3%)
CIE-LABlab(74.89, -20.02, 37.86)
CIE-LCHlch(74.89, 42.83, 117.87°)
OKLaboklab(77.65% -0.0553 0.0922)
OKLCHoklch(77.65% 0.108 121)
XYZxyz(39.0639, 48.1029, 22.8464)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC171 #8671C1
analogous
#C1AE71 #ACC171 #84C171
triadic
#ACC171 #71ACC1 #C171AC
tetradic
#ACC171 #71C1AE #8671C1 #C17184
square
#ACC171 #71C1AE #8671C1 #C17184
split-complementary
#ACC171 #7184C1 #AE71C1
monochromatic
#6D8038 #91AA4A #ACC171 #C5D49C #DEE6C6

Accessibility & contrast

On white

1.98
#ACC171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#ACC171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC171
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC171#FFFFFF#000000##000000
##ACC1711.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96B
Deuteranopia (green-blind)
#C7B875
Tritanopia (blue-blind)
#B2BAAE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc171;
/* rgb */ color: rgb(172, 193, 113);
/* oklch */ color: oklch(77.7% 0.107 121.0);
Tailwind
colors: {
  custom: {
    50: '#c6d39b',
    500: '#acc171',
    950: '#000000',
  },
}
SCSS
$custom: #acc171;
$custom-light: #c6d39b;
$custom-dark: #000000;
JSON
{
  "hex": "#acc171",
  "rgb": {
    "r": 172,
    "g": 193,
    "b": 113
  },
  "hsl": {
    "h": 75.75,
    "s": 39.216,
    "l": 60
  },
  "oklch": {
    "l": 0.77653,
    "c": 0.1075,
    "h": 121
  },
  "luminance": 0.48103
}

Semantic roles & 50–950 ramp

primary
#ACC171
secondary
#C0B7D6
accent
#59CF78
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #ACC171

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

Preview Lab → · Contrast checker → · Palette generator →

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