#ACC780#ACC780

#ACC780 is a light, moderate yellow-green. Relative luminance 0.512; OKLCH L 79.2% C 0.099 H 125.5°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#ACC780
RGBrgb(172, 199, 128)
HSLhsl(83, 39%, 64%)
HSVhsv(83, 36%, 78%)
CMYKcmyk(13.6%, 0%, 35.7%, 22%)
CIE-LABlab(76.79, -21.13, 32.61)
CIE-LCHlch(76.79, 38.86, 122.94°)
OKLaboklab(79.24% -0.0576 0.0807)
OKLCHoklch(79.24% 0.099 125.5)
XYZxyz(41.3326, 51.1758, 28.1183)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC780 #9B80C7
analogous
#C7BF80 #ACC780 #89C780
triadic
#ACC780 #80ACC7 #C780AC
tetradic
#ACC780 #80C7BF #9B80C7 #C78089
square
#ACC780 #80C7BF #9B80C7 #C78089
split-complementary
#ACC780 #8089C7 #BF80C7
monochromatic
#708E3F #90B456 #ACC780 #C8DAAA #E4ECD5

Accessibility & contrast

On white

1.87
#ACC780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#ACC780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC780
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC780#FFFFFF#000000##000000
##ACC7801.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7B
Deuteranopia (green-blind)
#CABD83
Tritanopia (blue-blind)
#B0C1B5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acc780;
/* rgb */ color: rgb(172, 199, 128);
/* oklch */ color: oklch(79.2% 0.099 125.5);
Tailwind
colors: {
  custom: {
    50: '#c5d8a5',
    500: '#acc780',
    950: '#000000',
  },
}
SCSS
$custom: #acc780;
$custom-light: #c5d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#acc780",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 82.817,
    "s": 38.798,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79244,
    "c": 0.09918,
    "h": 125.5
  },
  "luminance": 0.51176
}

Semantic roles & 50–950 ramp

primary
#ACC780
secondary
#6E5696
accent
#34B264
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #ACC780

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

Preview Lab → · Contrast checker → · Palette generator →

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