#ACA940#ACA940

#ACA940 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.7% C 0.126 H 107.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#ACA940
RGBrgb(172, 169, 64)
HSLhsl(58, 46%, 46%)
HSVhsv(58, 63%, 67%)
CMYKcmyk(0%, 1.7%, 62.8%, 32.5%)
CIE-LABlab(67.66, -12.32, 52.83)
CIE-LCHlch(67.66, 54.25, 103.13°)
OKLaboklab(71.7% -0.0382 0.1202)
OKLCHoklch(71.7% 0.126 107.6)
XYZxyz(32.1277, 37.5177, 10.3988)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACA940 #4043AC
analogous
#AC7340 #ACA940 #79AC40
triadic
#ACA940 #40ACA9 #A940AC
tetradic
#ACA940 #40AC73 #4043AC #AC4079
square
#ACA940 #40AC73 #4043AC #AC4079
split-complementary
#ACA940 #4079AC #7340AC
monochromatic
#53511F #7F7D2F #ACA940 #C5C364 #D6D491

Accessibility & contrast

On white

2.47
#ACA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#ACA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACA940
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACA940#FFFFFF#000000##000000
##ACA9401.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A333
Deuteranopia (green-blind)
#B8A746
Tritanopia (blue-blind)
#B89F93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aca940;
/* rgb */ color: rgb(172, 169, 64);
/* oklch */ color: oklch(71.7% 0.126 107.6);
Tailwind
colors: {
  custom: {
    50: '#c7c27a',
    500: '#aca940',
    950: '#000000',
  },
}
SCSS
$custom: #aca940;
$custom-light: #c7c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#aca940",
  "rgb": {
    "r": 172,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 58.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71699,
    "c": 0.12615,
    "h": 107.6
  },
  "luminance": 0.37517
}

Semantic roles & 50–950 ramp

primary
#ACA940
secondary
#8788C1
accent
#56D552
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ACA940

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

Preview Lab → · Contrast checker → · Palette generator →

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