#ACB542#ACB542

#ACB542 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.138 H 113.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#ACB542
RGBrgb(172, 181, 66)
HSLhsl(65, 47%, 48%)
HSVhsv(65, 64%, 71%)
CMYKcmyk(5%, 0%, 63.5%, 29%)
CIE-LABlab(71.02, -18.33, 55.54)
CIE-LCHlch(71.02, 58.49, 108.27°)
OKLaboklab(74.38% -0.0549 0.1262)
OKLCHoklch(74.38% 0.138 113.5)
XYZxyz(34.5214, 42.2124, 11.4825)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB542 #4B42B5
analogous
#B58442 #ACB542 #72B542
triadic
#ACB542 #42ACB5 #B542AC
tetradic
#ACB542 #42B584 #4B42B5 #B54272
square
#ACB542 #42B584 #4B42B5 #B54272
split-complementary
#ACB542 #4272B5 #8442B5
monochromatic
#575B21 #818832 #ACB542 #C2C96B #D4D998

Accessibility & contrast

On white

2.22
#ACB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#ACB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB542
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB542#FFFFFF#000000##000000
##ACB5421.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#B7AB9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #acb542;
/* rgb */ color: rgb(172, 181, 66);
/* oklch */ color: oklch(74.4% 0.138 113.5);
Tailwind
colors: {
  custom: {
    50: '#c7cb7c',
    500: '#acb542',
    950: '#000000',
  },
}
SCSS
$custom: #acb542;
$custom-light: #c7cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#acb542",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 64.696,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74383,
    "c": 0.13768,
    "h": 113.5
  },
  "luminance": 0.42212
}

Semantic roles & 50–950 ramp

primary
#ACB542
secondary
#928EC5
accent
#52D65C
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACB542

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

Preview Lab → · Contrast checker → · Palette generator →

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