#ACC531#ACC531

#ACC531 is a light, vivid yellow-green. Relative luminance 0.489; OKLCH L 77.9% C 0.167 H 119.0°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#ACC531
RGBrgb(172, 197, 49)
HSLhsl(70, 60%, 48%)
HSVhsv(70, 75%, 77%)
CMYKcmyk(12.7%, 0%, 75.1%, 22.7%)
CIE-LABlab(75.40, -27.15, 66.26)
CIE-LCHlch(75.40, 71.60, 112.29°)
OKLaboklab(77.87% -0.0811 0.1461)
OKLCHoklch(77.87% 0.167 119)
XYZxyz(37.5347, 48.9252, 10.3713)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC531 #4A31C5
analogous
#C59431 #ACC531 #62C531
triadic
#ACC531 #31ACC5 #C531AC
tetradic
#ACC531 #31C594 #4A31C5 #C53162
square
#ACC531 #31C594 #4A31C5 #C53162
split-complementary
#ACC531 #3162C5 #9431C5
monochromatic
#566319 #819425 #ACC531 #C2D75D #D4E38E

Accessibility & contrast

On white

1.95
#ACC531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#ACC531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC531
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC531#FFFFFF#000000##000000
##ACC5311.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0C
Deuteranopia (green-blind)
#CFBA3E
Tritanopia (blue-blind)
#B6BAA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #acc531;
/* rgb */ color: rgb(172, 197, 49);
/* oklch */ color: oklch(77.9% 0.167 119.0);
Tailwind
colors: {
  custom: {
    50: '#c8d675',
    500: '#acc531',
    950: '#000000',
  },
}
SCSS
$custom: #acc531;
$custom-light: #c8d675;
$custom-dark: #000000;
JSON
{
  "hex": "#acc531",
  "rgb": {
    "r": 172,
    "g": 197,
    "b": 49
  },
  "hsl": {
    "h": 70.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.16707,
    "h": 119
  },
  "luminance": 0.48925
}

Semantic roles & 50–950 ramp

primary
#ACC531
secondary
#9185CD
accent
#44E35F
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #ACC531

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

Preview Lab → · Contrast checker → · Palette generator →

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