#ACA540#ACA540

#ACA540 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.122 H 105.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#ACA540
RGBrgb(172, 165, 64)
HSLhsl(56, 46%, 46%)
HSVhsv(56, 63%, 67%)
CMYKcmyk(0%, 4.1%, 62.8%, 32.5%)
CIE-LABlab(66.56, -10.23, 51.65)
CIE-LCHlch(66.56, 52.65, 101.21°)
OKLaboklab(70.82% -0.0323 0.1177)
OKLCHoklch(70.82% 0.122 105.3)
XYZxyz(31.3949, 36.0522, 10.1545)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA540 #4047AC
analogous
#AC6F40 #ACA540 #7DAC40
triadic
#ACA540 #40ACA5 #A540AC
tetradic
#ACA540 #40AC6F #4047AC #AC407D
square
#ACA540 #40AC6F #4047AC #AC407D
split-complementary
#ACA540 #407DAC #6F40AC
monochromatic
#534F1F #7F7A2F #ACA540 #C5BF64 #D6D191

Accessibility & contrast

On white

2.56
#ACA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#ACA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA540
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA540#FFFFFF#000000##000000
##ACA5401.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#B89A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aca540;
/* rgb */ color: rgb(172, 165, 64);
/* oklch */ color: oklch(70.8% 0.122 105.3);
Tailwind
colors: {
  custom: {
    50: '#c7bf79',
    500: '#aca540',
    950: '#000000',
  },
}
SCSS
$custom: #aca540;
$custom-light: #c7bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#aca540",
  "rgb": {
    "r": 172,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 56.111,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.12207,
    "h": 105.3
  },
  "luminance": 0.36051
}

Semantic roles & 50–950 ramp

primary
#ACA540
secondary
#878BC1
accent
#5BD552
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA540

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

Preview Lab → · Contrast checker → · Palette generator →

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