#B5AE3D#B5AE3D
#B5AE3D is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.132 H 105.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE3D |
|---|---|
| RGB | rgb(181, 174, 61) |
| HSL | hsl(57, 50%, 47%) |
| HSV | hsv(57, 66%, 71%) |
| CMYK | cmyk(0%, 3.9%, 66.3%, 29%) |
| CIE-LAB | lab(69.78, -11.23, 56.55) |
| CIE-LCH | lch(69.78, 57.65, 101.23°) |
| OKLab | oklab(73.56% -0.036 0.1274) |
| OKLCH | oklch(73.56% 0.132 105.8) |
| XYZ | xyz(35.0357, 40.4340, 10.3730) |
| Luminance | 0.4043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.63
Vomit
#A2A415
ΔE00 4.67
Muddy Yellow
#BFAC05
ΔE00 5.07
Olive Yellow
#C2B709
ΔE00 5.17
Mustard Green
#A8B504
ΔE00 5.84
Puke Yellow
#C2BE0E
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE3D #3D44B5
analogous
#B5723D #B5AE3D #80B53D
triadic
#B5AE3D #3DB5AE #AE3DB5
tetradic
#B5AE3D #3DB572 #3D44B5 #B53D80
square
#B5AE3D #3DB572 #3D44B5 #B53D80
split-complementary
#B5AE3D #3D80B5 #723DB5
monochromatic
#59561E #87822E #B5AE3D #CBC564 #DAD692
Accessibility & contrast
On white
2.31
#B5AE3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#B5AE3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE3D
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE3D | 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)
#BDA82E
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#C2A397
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae3d; /* rgb */ color: rgb(181, 174, 61); /* oklch */ color: oklch(73.6% 0.132 105.8);
Tailwind
colors: {
custom: {
50: '#cec579',
500: '#b5ae3d',
950: '#000000',
},
}SCSS
$custom: #b5ae3d; $custom-light: #cec579; $custom-dark: #000000;
JSON
{
"hex": "#b5ae3d",
"rgb": {
"r": 181,
"g": 174,
"b": 61
},
"hsl": {
"h": 56.5,
"s": 49.587,
"l": 47.451
},
"oklch": {
"l": 0.7356,
"c": 0.13236,
"h": 105.8
},
"luminance": 0.40433
}Semantic roles & 50–950 ramp
primary
#B5AE3D
secondary
#888CC5
accent
#57D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B