#ACB52D#ACB52D

#ACB52D is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.2% C 0.152 H 113.4°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#ACB52D
RGBrgb(172, 181, 45)
HSLhsl(64, 60%, 44%)
HSVhsv(64, 75%, 71%)
CMYKcmyk(5%, 0%, 75.1%, 29%)
CIE-LABlab(70.88, -19.49, 63.32)
CIE-LCHlch(70.88, 66.25, 107.11°)
OKLaboklab(74.23% -0.0602 0.1392)
OKLCHoklch(74.23% 0.152 113.4)
XYZxyz(34.0118, 42.0086, 8.7989)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB52D #362DB5
analogous
#B57A2D #ACB52D #68B52D
triadic
#ACB52D #2DACB5 #B52DAC
tetradic
#ACB52D #2DB57A #362DB5 #B52D68
square
#ACB52D #2DB57A #362DB5 #B52D68
split-complementary
#ACB52D #2D68B5 #7A2DB5
monochromatic
#4F5315 #7D8421 #ACB52D #CAD34D #D8DF7E

Accessibility & contrast

On white

2.23
#ACB52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#ACB52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB52D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB52D#FFFFFF#000000##000000
##ACB52D1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC0C
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#B8AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb52d;
/* rgb */ color: rgb(172, 181, 45);
/* oklch */ color: oklch(74.2% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8cb71',
    500: '#acb52d',
    950: '#000000',
  },
}
SCSS
$custom: #acb52d;
$custom-light: #c8cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#acb52d",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 63.971,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74226,
    "c": 0.15165,
    "h": 113.4
  },
  "luminance": 0.42008
}

Semantic roles & 50–950 ramp

primary
#ACB52D
secondary
#7C76C7
accent
#44E34F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB52D

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

Preview Lab → · Contrast checker → · Palette generator →

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