#ACB52A#ACB52A

#ACB52A 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#ACB52A
RGBrgb(172, 181, 42)
HSLhsl(64, 62%, 44%)
HSVhsv(64, 77%, 71%)
CMYKcmyk(5%, 0%, 76.8%, 29%)
CIE-LABlab(70.86, -19.62, 64.27)
CIE-LCHlch(70.86, 67.19, 106.98°)
OKLaboklab(74.21% -0.0608 0.1407)
OKLCHoklch(74.21% 0.153 113.4)
XYZxyz(33.9561, 41.9863, 8.5055)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB52A #332AB5
analogous
#B5782A #ACB52A #66B52A
triadic
#ACB52A #2AACB5 #B52AAC
tetradic
#ACB52A #2AB578 #332AB5 #B52A66
square
#ACB52A #2AB578 #332AB5 #B52A66
split-complementary
#ACB52A #2A66B5 #782AB5
monochromatic
#4E5213 #7D831E #ACB52A #CBD448 #D9E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB52A#FFFFFF#000000##000000
##ACB52A1.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)
#C3AC02
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#B8AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb52a;
/* rgb */ color: rgb(172, 181, 42);
/* oklch */ color: oklch(74.2% 0.153 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8cb6f',
    500: '#acb52a',
    950: '#000000',
  },
}
SCSS
$custom: #acb52a;
$custom-light: #c8cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#acb52a",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 63.885,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74209,
    "c": 0.15324,
    "h": 113.4
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#ACB52A
secondary
#7873C8
accent
#42E54D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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