#ACC787#ACC787

#ACC787 is a light, moderate yellow-green. Relative luminance 0.514; OKLCH L 79.4% C 0.091 H 126.9°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#ACC787
RGBrgb(172, 199, 135)
HSLhsl(85, 36%, 65%)
HSVhsv(85, 32%, 78%)
CMYKcmyk(13.6%, 0%, 32.2%, 22%)
CIE-LABlab(76.90, -20.17, 29.13)
CIE-LCHlch(76.90, 35.43, 124.70°)
OKLaboklab(79.37% -0.0547 0.0727)
OKLCHoklch(79.37% 0.091 126.9)
XYZxyz(41.8093, 51.3664, 30.6290)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC787 #A287C7
analogous
#C7C287 #ACC787 #8CC787
triadic
#ACC787 #87ACC7 #C787AC
tetradic
#ACC787 #87C7C2 #A287C7 #C7878C
square
#ACC787 #87C7C2 #A287C7 #C7878C
split-complementary
#ACC787 #878CC7 #C287C7
monochromatic
#709043 #8FB45D #ACC787 #C9DAB1 #E6EEDA

Accessibility & contrast

On white

1.86
#ACC787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#ACC787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC787
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC787#FFFFFF#000000##000000
##ACC7871.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF83
Deuteranopia (green-blind)
#CABD8A
Tritanopia (blue-blind)
#AFC1B6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #acc787;
/* rgb */ color: rgb(172, 199, 135);
/* oklch */ color: oklch(79.4% 0.091 126.9);
Tailwind
colors: {
  custom: {
    50: '#c5d8aa',
    500: '#acc787',
    950: '#000000',
  },
}
SCSS
$custom: #acc787;
$custom-light: #c5d8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#acc787",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 85.313,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79373,
    "c": 0.091,
    "h": 126.9
  },
  "luminance": 0.51367
}

Semantic roles & 50–950 ramp

primary
#ACC787
secondary
#745A98
accent
#36AF69
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ACC787

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

Preview Lab → · Contrast checker → · Palette generator →

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