#ACC271#ACC271

#ACC271 is a light, moderate yellow-green. Relative luminance 0.485; OKLCH L 77.9% C 0.109 H 121.4°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#ACC271
RGBrgb(172, 194, 113)
HSLhsl(76, 40%, 60%)
HSVhsv(76, 42%, 76%)
CMYKcmyk(11.3%, 0%, 41.8%, 23.9%)
CIE-LABlab(75.17, -20.52, 38.21)
CIE-LCHlch(75.17, 43.37, 118.23°)
OKLaboklab(77.88% -0.0567 0.093)
OKLCHoklch(77.88% 0.109 121.4)
XYZxyz(39.2857, 48.5465, 22.9203)
Luminance0.4855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC271 #8771C2
analogous
#C2AF71 #ACC271 #84C271
triadic
#ACC271 #71ACC2 #C271AC
tetradic
#ACC271 #71C2AF #8771C2 #C27184
square
#ACC271 #71C2AF #8771C2 #C27184
split-complementary
#ACC271 #7184C2 #AF71C2
monochromatic
#6D8137 #91AC4A #ACC271 #C5D49C #DEE7C7

Accessibility & contrast

On white

1.96
#ACC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#ACC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC271
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC271#FFFFFF#000000##000000
##ACC2711.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB96B
Deuteranopia (green-blind)
#C8B975
Tritanopia (blue-blind)
#B2BBAE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #acc271;
/* rgb */ color: rgb(172, 194, 113);
/* oklch */ color: oklch(77.9% 0.109 121.4);
Tailwind
colors: {
  custom: {
    50: '#c6d49b',
    500: '#acc271',
    950: '#000000',
  },
}
SCSS
$custom: #acc271;
$custom-light: #c6d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#acc271",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 76.296,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77876,
    "c": 0.10891,
    "h": 121.4
  },
  "luminance": 0.48546
}

Semantic roles & 50–950 ramp

primary
#ACC271
secondary
#C0B8D7
accent
#33B355
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #ACC271

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

Preview Lab → · Contrast checker → · Palette generator →

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