#ACC542#ACC542

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

Color values

HEX#ACC542
RGBrgb(172, 197, 66)
HSLhsl(71, 53%, 52%)
HSVhsv(71, 66%, 77%)
CMYKcmyk(12.7%, 0%, 66.5%, 22.7%)
CIE-LABlab(75.51, -26.22, 60.24)
CIE-LCHlch(75.51, 65.70, 113.52°)
OKLaboklab(77.99% -0.077 0.1362)
OKLCHoklch(77.99% 0.156 119.5)
XYZxyz(37.9635, 49.0967, 12.6299)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC542 #5B42C5
analogous
#C59C42 #ACC542 #6BC542
triadic
#ACC542 #42ACC5 #C542AC
tetradic
#ACC542 #42C59C #5B42C5 #C5426B
square
#ACC542 #42C59C #5B42C5 #C5426B
split-complementary
#ACC542 #426BC5 #9C42C5
monochromatic
#5D6C21 #869A2F #ACC542 #C1D371 #D5E2A0

Accessibility & contrast

On white

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

On black

10.82
#ACC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC542
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC542#FFFFFF#000000##000000
##ACC5421.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acc542;
/* rgb */ color: rgb(172, 197, 66);
/* oklch */ color: oklch(78.0% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#c8d67d',
    500: '#acc542',
    950: '#000000',
  },
}
SCSS
$custom: #acc542;
$custom-light: #c8d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc542",
  "rgb": {
    "r": 172,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 71.45,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7799,
    "c": 0.1564,
    "h": 119.5
  },
  "luminance": 0.49097
}

Semantic roles & 50–950 ramp

primary
#ACC542
secondary
#A095CE
accent
#4BDC67
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ACC542

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

Preview Lab → · Contrast checker → · Palette generator →

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