#ACB52F#ACB52F

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

Color values

HEX#ACB52F
RGBrgb(172, 181, 47)
HSLhsl(64, 59%, 45%)
HSVhsv(64, 74%, 71%)
CMYKcmyk(5%, 0%, 74%, 29%)
CIE-LABlab(70.89, -19.40, 62.66)
CIE-LCHlch(70.89, 65.60, 107.20°)
OKLaboklab(74.24% -0.0598 0.1382)
OKLCHoklch(74.24% 0.151 113.4)
XYZxyz(34.0513, 42.0244, 9.0065)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB52F #382FB5
analogous
#B57B2F #ACB52F #69B52F
triadic
#ACB52F #2FACB5 #B52FAC
tetradic
#ACB52F #2FB57B #382FB5 #B52F69
square
#ACB52F #2FB57B #382FB5 #B52F69
split-complementary
#ACB52F #2F69B5 #7B2FB5
monochromatic
#505416 #7E8422 #ACB52F #C9D150 #D8DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB52F#FFFFFF#000000##000000
##ACB52F1.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)
#C3AC12
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#B8AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb52f;
/* rgb */ color: rgb(172, 181, 47);
/* oklch */ color: oklch(74.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8cb72',
    500: '#acb52f',
    950: '#000000',
  },
}
SCSS
$custom: #acb52f;
$custom-light: #c8cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#acb52f",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 64.03,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.15054,
    "h": 113.4
  },
  "luminance": 0.42024
}

Semantic roles & 50–950 ramp

primary
#ACB52F
secondary
#7E79C7
accent
#46E250
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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