#ACA542#ACA542
#ACA542 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.120 H 105.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #ACA542 |
|---|---|
| RGB | rgb(172, 165, 66) |
| HSL | hsl(56, 45%, 47%) |
| HSV | hsv(56, 62%, 67%) |
| CMYK | cmyk(0%, 4.1%, 61.6%, 32.5%) |
| CIE-LAB | lab(66.58, -10.10, 50.78) |
| CIE-LCH | lch(66.58, 51.77, 101.25°) |
| OKLab | oklab(70.84% -0.0317 0.1162) |
| OKLCH | oklch(70.84% 0.12 105.3) |
| XYZ | xyz(31.4528, 36.0753, 10.4596) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.50
Puke
#A5A502
ΔE00 4.96
Khaki (survey)
#AAA662
ΔE00 5.20
Darkkhaki
#BDB76B
ΔE00 6.50
Pea Soup
#929901
ΔE00 6.85
Muddy Yellow
#BFAC05
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACA542 #4249AC
analogous
#AC7042 #ACA542 #7EAC42
triadic
#ACA542 #42ACA5 #A542AC
tetradic
#ACA542 #42AC70 #4249AC #AC427E
square
#ACA542 #42AC70 #4249AC #AC427E
split-complementary
#ACA542 #427EAC #7042AC
monochromatic
#545020 #807B31 #ACA542 #C5BE67 #D6D193
Accessibility & contrast
On white
2.56
#ACA542 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#ACA542 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACA542
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACA542 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACA542 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B5A448
Tritanopia (blue-blind)
#B89B90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #aca542; /* rgb */ color: rgb(172, 165, 66); /* oklch */ color: oklch(70.8% 0.120 105.3);
Tailwind
colors: {
custom: {
50: '#c7bf7b',
500: '#aca542',
950: '#000000',
},
}SCSS
$custom: #aca542; $custom-light: #c7bf7b; $custom-dark: #000000;
JSON
{
"hex": "#aca542",
"rgb": {
"r": 172,
"g": 165,
"b": 66
},
"hsl": {
"h": 56.038,
"s": 44.538,
"l": 46.667
},
"oklch": {
"l": 0.7084,
"c": 0.12041,
"h": 105.3
},
"luminance": 0.36074
}Semantic roles & 50–950 ramp
primary
#ACA542
secondary
#898DC1
accent
#5CD454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#131209
muted
#82817B