#ACC540#ACC540

#ACC540 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 78.0% C 0.158 H 119.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#ACC540
RGBrgb(172, 197, 64)
HSLhsl(71, 53%, 51%)
HSVhsv(71, 68%, 77%)
CMYKcmyk(12.7%, 0%, 67.5%, 22.7%)
CIE-LABlab(75.50, -26.35, 61.01)
CIE-LCHlch(75.50, 66.45, 113.36°)
OKLaboklab(77.97% -0.0775 0.1375)
OKLCHoklch(77.97% 0.158 119.4)
XYZxyz(37.9056, 49.0735, 12.3247)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC540 #5940C5
analogous
#C59B40 #ACC540 #69C540
triadic
#ACC540 #40ACC5 #C540AC
tetradic
#ACC540 #40C59B #5940C5 #C54069
square
#ACC540 #40C59B #5940C5 #C54069
split-complementary
#ACC540 #4069C5 #9B40C5
monochromatic
#5C6A20 #85992F #ACC540 #C0D36F #D5E29E

Accessibility & contrast

On white

1.94
#ACC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#ACC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC540
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC540#FFFFFF#000000##000000
##ACC5401.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#B6BBAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #acc540;
/* rgb */ color: rgb(172, 197, 64);
/* oklch */ color: oklch(78.0% 0.158 119.4);
Tailwind
colors: {
  custom: {
    50: '#c8d67c',
    500: '#acc540',
    950: '#000000',
  },
}
SCSS
$custom: #acc540;
$custom-light: #c8d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#acc540",
  "rgb": {
    "r": 172,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 71.278,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77974,
    "c": 0.15781,
    "h": 119.4
  },
  "luminance": 0.49073
}

Semantic roles & 50–950 ramp

primary
#ACC540
secondary
#9E93CE
accent
#4BDD66
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ACC540

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

Preview Lab → · Contrast checker → · Palette generator →

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