#ACB52E#ACB52E

#ACB52E 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#ACB52E
RGBrgb(172, 181, 46)
HSLhsl(64, 59%, 45%)
HSVhsv(64, 75%, 71%)
CMYKcmyk(5%, 0%, 74.6%, 29%)
CIE-LABlab(70.88, -19.45, 62.99)
CIE-LCHlch(70.88, 65.93, 107.16°)
OKLaboklab(74.23% -0.06 0.1387)
OKLCHoklch(74.23% 0.151 113.4)
XYZxyz(34.0313, 42.0164, 8.9015)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB52E #372EB5
analogous
#B57B2E #ACB52E #69B52E
triadic
#ACB52E #2EACB5 #B52EAC
tetradic
#ACB52E #2EB57B #372EB5 #B52E69
square
#ACB52E #2EB57B #372EB5 #B52E69
split-complementary
#ACB52E #2E69B5 #7B2EB5
monochromatic
#4F5315 #7E8422 #ACB52E #C9D24E #D8DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB52E#FFFFFF#000000##000000
##ACB52E1.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)
#C3AC0F
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#B8AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb52e;
/* rgb */ color: rgb(172, 181, 46);
/* oklch */ color: oklch(74.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8cb71',
    500: '#acb52e',
    950: '#000000',
  },
}
SCSS
$custom: #acb52e;
$custom-light: #c8cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#acb52e",
  "rgb": {
    "r": 172,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 64,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74232,
    "c": 0.1511,
    "h": 113.4
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

primary
#ACB52E
secondary
#7D78C7
accent
#45E350
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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