#ACB52B#ACB52B

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

Color values

HEX#ACB52B
RGBrgb(172, 181, 43)
HSLhsl(64, 62%, 44%)
HSVhsv(64, 76%, 71%)
CMYKcmyk(5%, 0%, 76.2%, 29%)
CIE-LABlab(70.87, -19.58, 63.96)
CIE-LCHlch(70.87, 66.89, 107.02°)
OKLaboklab(74.21% -0.0606 0.1402)
OKLCHoklch(74.21% 0.153 113.4)
XYZxyz(33.9742, 41.9936, 8.6009)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB52B #342BB5
analogous
#B5792B #ACB52B #67B52B
triadic
#ACB52B #2BACB5 #B52BAC
tetradic
#ACB52B #2BB579 #342BB5 #B52B67
square
#ACB52B #2BB579 #342BB5 #B52B67
split-complementary
#ACB52B #2B67B5 #792BB5
monochromatic
#4E5214 #7D841F #ACB52B #CBD449 #D9E07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB52B#FFFFFF#000000##000000
##ACB52B1.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)
#C3AC05
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#B8AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb52b;
/* rgb */ color: rgb(172, 181, 43);
/* oklch */ color: oklch(74.2% 0.153 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8cb70',
    500: '#acb52b',
    950: '#000000',
  },
}
SCSS
$custom: #acb52b;
$custom-light: #c8cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#acb52b",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 63.913,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74214,
    "c": 0.15273,
    "h": 113.4
  },
  "luminance": 0.41993
}

Semantic roles & 50–950 ramp

primary
#ACB52B
secondary
#7974C8
accent
#43E54E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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