#B5AE41#B5AE41
#B5AE41 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.129 H 105.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE41 |
|---|---|
| RGB | rgb(181, 174, 65) |
| HSL | hsl(56, 47%, 48%) |
| HSV | hsv(56, 64%, 71%) |
| CMYK | cmyk(0%, 3.9%, 64.1%, 29%) |
| CIE-LAB | lab(69.81, -10.98, 54.91) |
| CIE-LCH | lch(69.81, 55.99, 101.31°) |
| OKLab | oklab(73.6% -0.0349 0.1245) |
| OKLCH | oklch(73.6% 0.129 105.6) |
| XYZ | xyz(35.1475, 40.4787, 10.9618) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.92
Puke
#A5A502
ΔE00 4.96
Muddy Yellow
#BFAC05
ΔE00 5.43
Olive Yellow
#C2B709
ΔE00 5.56
Darkkhaki
#BDB76B
ΔE00 5.70
Mustard Green
#A8B504
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE41 #4148B5
analogous
#B57441 #B5AE41 #82B541
triadic
#B5AE41 #41B5AE #AE41B5
tetradic
#B5AE41 #41B574 #4148B5 #B54182
square
#B5AE41 #41B574 #4148B5 #B54182
split-complementary
#B5AE41 #4182B5 #7441B5
monochromatic
#5B5721 #888331 #B5AE41 #C9C46A #DAD697
Accessibility & contrast
On white
2.31
#B5AE41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#B5AE41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE41
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE41 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA833
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b5ae41; /* rgb */ color: rgb(181, 174, 65); /* oklch */ color: oklch(73.6% 0.129 105.6);
Tailwind
colors: {
custom: {
50: '#cec57b',
500: '#b5ae41',
950: '#000000',
},
}SCSS
$custom: #b5ae41; $custom-light: #cec57b; $custom-dark: #000000;
JSON
{
"hex": "#b5ae41",
"rgb": {
"r": 181,
"g": 174,
"b": 65
},
"hsl": {
"h": 56.379,
"s": 47.154,
"l": 48.235
},
"oklch": {
"l": 0.73595,
"c": 0.12932,
"h": 105.6
},
"luminance": 0.40478
}Semantic roles & 50–950 ramp
primary
#B5AE41
secondary
#8C90C5
accent
#59D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C