#ACB542#ACB542
#ACB542 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.138 H 113.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #ACB542 |
|---|---|
| RGB | rgb(172, 181, 66) |
| HSL | hsl(65, 47%, 48%) |
| HSV | hsv(65, 64%, 71%) |
| CMYK | cmyk(5%, 0%, 63.5%, 29%) |
| CIE-LAB | lab(71.02, -18.33, 55.54) |
| CIE-LCH | lch(71.02, 58.49, 108.27°) |
| OKLab | oklab(74.38% -0.0549 0.1262) |
| OKLCH | oklch(74.38% 0.138 113.5) |
| XYZ | xyz(34.5214, 42.2124, 11.4825) |
| Luminance | 0.4221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.91
Mustard Green
#A8B504
ΔE00 4.13
Sick Green
#9DB92C
ΔE00 4.25
Snot
#ACBB0D
ΔE00 4.42
Puke Green
#9AAE07
ΔE00 4.67
Pea
#A4BF20
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ACB542 #4B42B5
analogous
#B58442 #ACB542 #72B542
triadic
#ACB542 #42ACB5 #B542AC
tetradic
#ACB542 #42B584 #4B42B5 #B54272
square
#ACB542 #42B584 #4B42B5 #B54272
split-complementary
#ACB542 #4272B5 #8442B5
monochromatic
#575B21 #818832 #ACB542 #C2C96B #D4D998
Accessibility & contrast
On white
2.22
#ACB542 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#ACB542 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ACB542
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ACB542 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ACB542 | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#B7AB9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #acb542; /* rgb */ color: rgb(172, 181, 66); /* oklch */ color: oklch(74.4% 0.138 113.5);
Tailwind
colors: {
custom: {
50: '#c7cb7c',
500: '#acb542',
950: '#000000',
},
}SCSS
$custom: #acb542; $custom-light: #c7cb7c; $custom-dark: #000000;
JSON
{
"hex": "#acb542",
"rgb": {
"r": 172,
"g": 181,
"b": 66
},
"hsl": {
"h": 64.696,
"s": 46.559,
"l": 48.431
},
"oklch": {
"l": 0.74383,
"c": 0.13768,
"h": 113.5
},
"luminance": 0.42212
}Semantic roles & 50–950 ramp
primary
#ACB542
secondary
#928EC5
accent
#52D65C
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C