#B5AC30#B5AC30
#B5AC30 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.139 H 105.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AC30 |
|---|---|
| RGB | rgb(181, 172, 48) |
| HSL | hsl(56, 58%, 45%) |
| HSV | hsv(56, 73%, 71%) |
| CMYK | cmyk(0%, 5%, 73.5%, 29%) |
| CIE-LAB | lab(69.14, -10.87, 60.92) |
| CIE-LCH | lch(69.14, 61.88, 100.12°) |
| OKLab | oklab(73.03% -0.0363 0.1343) |
| OKLCH | oklch(73.03% 0.139 105.1) |
| XYZ | xyz(34.3435, 39.5435, 8.6194) |
| Luminance | 0.3954 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.83
Puke
#A5A502
ΔE00 3.86
Vomit
#A2A415
ΔE00 4.20
Olive Yellow
#C2B709
ΔE00 4.42
Brownish Yellow
#C9B003
ΔE00 5.57
Puke Yellow
#C2BE0E
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AC30 #3039B5
analogous
#B56A30 #B5AC30 #7BB530
triadic
#B5AC30 #30B5AC #AC30B5
tetradic
#B5AC30 #30B56A #3039B5 #B5307B
square
#B5AC30 #30B56A #3039B5 #B5307B
split-complementary
#B5AC30 #307BB5 #6A30B5
monochromatic
#545016 #857E23 #B5AC30 #D1C851 #DED882
Accessibility & contrast
On white
2.36
#B5AC30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#B5AC30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AC30
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AC30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AC30 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA619
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#C3A094
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b5ac30; /* rgb */ color: rgb(181, 172, 48); /* oklch */ color: oklch(73.0% 0.139 105.1);
Tailwind
colors: {
custom: {
50: '#cfc471',
500: '#b5ac30',
950: '#000000',
},
}SCSS
$custom: #b5ac30; $custom-light: #cfc471; $custom-dark: #000000;
JSON
{
"hex": "#b5ac30",
"rgb": {
"r": 181,
"g": 172,
"b": 48
},
"hsl": {
"h": 55.94,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.73027,
"c": 0.13916,
"h": 105.1
},
"luminance": 0.39542
}Semantic roles & 50–950 ramp
primary
#B5AC30
secondary
#7A7FC7
accent
#51E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B