#B5AE36#B5AE36
#B5AE36 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.137 H 106.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE36 |
|---|---|
| RGB | rgb(181, 174, 54) |
| HSL | hsl(57, 54%, 46%) |
| HSV | hsv(57, 70%, 71%) |
| CMYK | cmyk(0%, 3.9%, 70.2%, 29%) |
| CIE-LAB | lab(69.73, -11.61, 59.28) |
| CIE-LCH | lch(69.73, 60.40, 101.09°) |
| OKLab | oklab(73.5% -0.0378 0.1319) |
| OKLCH | oklch(73.5% 0.137 106) |
| XYZ | xyz(34.8593, 40.3635, 9.4440) |
| Luminance | 0.4036 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.16
Vomit
#A2A415
ΔE00 4.36
Muddy Yellow
#BFAC05
ΔE00 4.52
Olive Yellow
#C2B709
ΔE00 4.57
Mustard Green
#A8B504
ΔE00 5.43
Puke Yellow
#C2BE0E
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE36 #363DB5
analogous
#B56E36 #B5AE36 #7CB536
triadic
#B5AE36 #36B5AE #AE36B5
tetradic
#B5AE36 #36B56E #363DB5 #B5367C
square
#B5AE36 #36B56E #363DB5 #B5367C
split-complementary
#B5AE36 #367CB5 #6E36B5
monochromatic
#57531A #868128 #B5AE36 #CEC85A #DCD789
Accessibility & contrast
On white
2.31
#B5AE36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B5AE36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE36
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE36 | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae36; /* rgb */ color: rgb(181, 174, 54); /* oklch */ color: oklch(73.5% 0.137 106.0);
Tailwind
colors: {
custom: {
50: '#cfc575',
500: '#b5ae36',
950: '#000000',
},
}SCSS
$custom: #b5ae36; $custom-light: #cfc575; $custom-dark: #000000;
JSON
{
"hex": "#b5ae36",
"rgb": {
"r": 181,
"g": 174,
"b": 54
},
"hsl": {
"h": 56.693,
"s": 54.043,
"l": 46.078
},
"oklch": {
"l": 0.73504,
"c": 0.13726,
"h": 106
},
"luminance": 0.40362
}Semantic roles & 50–950 ramp
primary
#B5AE36
secondary
#8185C6
accent
#52DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B