#ACC772#ACC772

#ACC772 is a light, moderate yellow-green. Relative luminance 0.508; OKLCH L 79.0% C 0.115 H 123.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#ACC772
RGBrgb(172, 199, 114)
HSLhsl(79, 43%, 61%)
HSVhsv(79, 43%, 78%)
CMYKcmyk(13.6%, 0%, 42.7%, 22%)
CIE-LABlab(76.58, -22.87, 39.49)
CIE-LCHlch(76.58, 45.63, 120.08°)
OKLaboklab(79.01% -0.0633 0.0959)
OKLCHoklch(79.01% 0.115 123.4)
XYZxyz(40.4739, 50.8323, 23.5957)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC772 #8D72C7
analogous
#C7B872 #ACC772 #82C772
triadic
#ACC772 #72ACC7 #C772AC
tetradic
#ACC772 #72C7B8 #8D72C7 #C77282
square
#ACC772 #72C7B8 #8D72C7 #C77282
split-complementary
#ACC772 #7282C7 #B872C7
monochromatic
#6E8836 #92B448 #ACC772 #C6D89E #E0EACA

Accessibility & contrast

On white

1.88
#ACC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#ACC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC772
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC772#FFFFFF#000000##000000
##ACC7721.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6B
Deuteranopia (green-blind)
#CCBD76
Tritanopia (blue-blind)
#B2C0B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc772;
/* rgb */ color: rgb(172, 199, 114);
/* oklch */ color: oklch(79.0% 0.115 123.4);
Tailwind
colors: {
  custom: {
    50: '#c6d89c',
    500: '#acc772',
    950: '#000000',
  },
}
SCSS
$custom: #acc772;
$custom-light: #c6d89c;
$custom-dark: #000000;
JSON
{
  "hex": "#acc772",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 79.059,
    "s": 43.147,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79009,
    "c": 0.11491,
    "h": 123.4
  },
  "luminance": 0.50832
}

Semantic roles & 50–950 ramp

primary
#ACC772
secondary
#624D90
accent
#2FB65A
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #ACC772

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

Preview Lab → · Contrast checker → · Palette generator →

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