#ACA52F#ACA52F

#ACA52F is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.134 H 105.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#ACA52F
RGBrgb(172, 165, 47)
HSLhsl(57, 57%, 43%)
HSVhsv(57, 73%, 67%)
CMYKcmyk(0%, 4.1%, 72.7%, 32.5%)
CIE-LABlab(66.43, -11.21, 58.42)
CIE-LCHlch(66.43, 59.48, 100.86°)
OKLaboklab(70.68% -0.0369 0.1292)
OKLCHoklch(70.68% 0.134 105.9)
XYZxyz(30.9827, 35.8873, 7.9837)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA52F #2F36AC
analogous
#AC662F #ACA52F #74AC2F
triadic
#ACA52F #2FACA5 #A52FAC
tetradic
#ACA52F #2FAC66 #2F36AC #AC2F74
square
#ACA52F #2FAC66 #2F36AC #AC2F74
split-complementary
#ACA52F #2F74AC #662FAC
monochromatic
#4C4915 #7C7722 #ACA52F #CEC64B #DBD57B

Accessibility & contrast

On white

2.57
#ACA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#ACA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA52F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA52F#FFFFFF#000000##000000
##ACA52F1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#B99A8E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aca52f;
/* rgb */ color: rgb(172, 165, 47);
/* oklch */ color: oklch(70.7% 0.134 105.9);
Tailwind
colors: {
  custom: {
    50: '#c8bf70',
    500: '#aca52f',
    950: '#000000',
  },
}
SCSS
$custom: #aca52f;
$custom-light: #c8bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#aca52f",
  "rgb": {
    "r": 172,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 56.64,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70679,
    "c": 0.13434,
    "h": 105.9
  },
  "luminance": 0.35886
}

Semantic roles & 50–950 ramp

primary
#ACA52F
secondary
#7478C3
accent
#50E047
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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