#B5AE42#B5AE42
#B5AE42 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 | #B5AE42 |
|---|---|
| RGB | rgb(181, 174, 66) |
| HSL | hsl(56, 47%, 48%) |
| HSV | hsv(56, 64%, 71%) |
| CMYK | cmyk(0%, 3.9%, 63.5%, 29%) |
| CIE-LAB | lab(69.82, -10.92, 54.49) |
| CIE-LCH | lch(69.82, 55.57, 101.33°) |
| OKLab | oklab(73.61% -0.0346 0.1238) |
| OKLCH | oklch(73.61% 0.129 105.6) |
| XYZ | xyz(35.1767, 40.4904, 11.1157) |
| Luminance | 0.4049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.98
Puke
#A5A502
ΔE00 5.05
Muddy Yellow
#BFAC05
ΔE00 5.52
Darkkhaki
#BDB76B
ΔE00 5.60
Olive Yellow
#C2B709
ΔE00 5.66
Mustard Green
#A8B504
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE42 #4249B5
analogous
#B57442 #B5AE42 #82B542
triadic
#B5AE42 #42B5AE #AE42B5
tetradic
#B5AE42 #42B574 #4249B5 #B54282
square
#B5AE42 #42B574 #4249B5 #B54282
split-complementary
#B5AE42 #4282B5 #7442B5
monochromatic
#5B5821 #888332 #B5AE42 #C9C36B #D9D598
Accessibility & contrast
On white
2.31
#B5AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#B5AE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE42
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE42 | 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)
#BCA835
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b5ae42; /* rgb */ color: rgb(181, 174, 66); /* oklch */ color: oklch(73.6% 0.129 105.6);
Tailwind
colors: {
custom: {
50: '#cec57b',
500: '#b5ae42',
950: '#000000',
},
}SCSS
$custom: #b5ae42; $custom-light: #cec57b; $custom-dark: #000000;
JSON
{
"hex": "#b5ae42",
"rgb": {
"r": 181,
"g": 174,
"b": 66
},
"hsl": {
"h": 56.348,
"s": 46.559,
"l": 48.431
},
"oklch": {
"l": 0.73605,
"c": 0.12852,
"h": 105.6
},
"luminance": 0.40489
}Semantic roles & 50–950 ramp
primary
#B5AE42
secondary
#8E91C5
accent
#5AD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C