#B5AE3E#B5AE3E
#B5AE3E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.132 H 105.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE3E |
|---|---|
| RGB | rgb(181, 174, 62) |
| HSL | hsl(56, 49%, 48%) |
| HSV | hsv(56, 66%, 71%) |
| CMYK | cmyk(0%, 3.9%, 65.7%, 29%) |
| CIE-LAB | lab(69.79, -11.17, 56.14) |
| CIE-LCH | lch(69.79, 57.24, 101.25°) |
| OKLab | oklab(73.57% -0.0357 0.1267) |
| OKLCH | oklch(73.57% 0.132 105.7) |
| XYZ | xyz(35.0629, 40.4449, 10.5162) |
| Luminance | 0.4044 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.71
Vomit
#A2A415
ΔE00 4.73
Muddy Yellow
#BFAC05
ΔE00 5.16
Olive Yellow
#C2B709
ΔE00 5.27
Mustard Green
#A8B504
ΔE00 5.91
Darkkhaki
#BDB76B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE3E #3E45B5
analogous
#B5733E #B5AE3E #80B53E
triadic
#B5AE3E #3EB5AE #AE3EB5
tetradic
#B5AE3E #3EB573 #3E45B5 #B53E80
square
#B5AE3E #3EB573 #3E45B5 #B53E80
split-complementary
#B5AE3E #3E80B5 #733EB5
monochromatic
#5A561F #87822E #B5AE3E #CAC566 #DAD693
Accessibility & contrast
On white
2.31
#B5AE3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#B5AE3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE3E
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE3E | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA82F
Deuteranopia (green-blind)
#BFAD45
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae3e; /* rgb */ color: rgb(181, 174, 62); /* oklch */ color: oklch(73.6% 0.132 105.7);
Tailwind
colors: {
custom: {
50: '#cec579',
500: '#b5ae3e',
950: '#000000',
},
}SCSS
$custom: #b5ae3e; $custom-light: #cec579; $custom-dark: #000000;
JSON
{
"hex": "#b5ae3e",
"rgb": {
"r": 181,
"g": 174,
"b": 62
},
"hsl": {
"h": 56.471,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.73569,
"c": 0.13161,
"h": 105.7
},
"luminance": 0.40444
}Semantic roles & 50–950 ramp
primary
#B5AE3E
secondary
#898DC5
accent
#57D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B