#B5AE37#B5AE37
#B5AE37 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 | #B5AE37 |
|---|---|
| RGB | rgb(181, 174, 55) |
| HSL | hsl(57, 53%, 46%) |
| HSV | hsv(57, 70%, 71%) |
| CMYK | cmyk(0%, 3.9%, 69.6%, 29%) |
| CIE-LAB | lab(69.73, -11.56, 58.90) |
| CIE-LCH | lch(69.73, 60.02, 101.11°) |
| OKLab | oklab(73.51% -0.0376 0.1313) |
| OKLCH | oklch(73.51% 0.137 106) |
| XYZ | xyz(34.8831, 40.3729, 9.5690) |
| Luminance | 0.4037 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.22
Vomit
#A2A415
ΔE00 4.40
Muddy Yellow
#BFAC05
ΔE00 4.59
Olive Yellow
#C2B709
ΔE00 4.65
Mustard Green
#A8B504
ΔE00 5.49
Puke Yellow
#C2BE0E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE37 #373EB5
analogous
#B56F37 #B5AE37 #7DB537
triadic
#B5AE37 #37B5AE #AE37B5
tetradic
#B5AE37 #37B56F #373EB5 #B5377D
square
#B5AE37 #37B56F #373EB5 #B5377D
split-complementary
#B5AE37 #377DB5 #6F37B5
monochromatic
#57541A #868129 #B5AE37 #CDC75C #DCD78B
Accessibility & contrast
On white
2.31
#B5AE37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B5AE37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE37
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE37 | 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)
#BDA824
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae37; /* rgb */ color: rgb(181, 174, 55); /* oklch */ color: oklch(73.5% 0.137 106.0);
Tailwind
colors: {
custom: {
50: '#cec575',
500: '#b5ae37',
950: '#000000',
},
}SCSS
$custom: #b5ae37; $custom-light: #cec575; $custom-dark: #000000;
JSON
{
"hex": "#b5ae37",
"rgb": {
"r": 181,
"g": 174,
"b": 55
},
"hsl": {
"h": 56.667,
"s": 53.39,
"l": 46.275
},
"oklch": {
"l": 0.73512,
"c": 0.13658,
"h": 106
},
"luminance": 0.40372
}Semantic roles & 50–950 ramp
primary
#B5AE37
secondary
#8286C6
accent
#53DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B