#B5AE35#B5AE35
#B5AE35 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.138 H 106.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE35 |
|---|---|
| RGB | rgb(181, 174, 53) |
| HSL | hsl(57, 55%, 46%) |
| HSV | hsv(57, 71%, 71%) |
| CMYK | cmyk(0%, 3.9%, 70.7%, 29%) |
| CIE-LAB | lab(69.72, -11.67, 59.65) |
| CIE-LCH | lch(69.72, 60.78, 101.07°) |
| OKLab | oklab(73.5% -0.0381 0.1326) |
| OKLCH | oklch(73.5% 0.138 106) |
| XYZ | xyz(34.8361, 40.3542, 9.3216) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.11
Vomit
#A2A415
ΔE00 4.33
Muddy Yellow
#BFAC05
ΔE00 4.45
Olive Yellow
#C2B709
ΔE00 4.50
Mustard Green
#A8B504
ΔE00 5.39
Puke Yellow
#C2BE0E
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE35 #353CB5
analogous
#B56E35 #B5AE35 #7CB535
triadic
#B5AE35 #35B5AE #AE35B5
tetradic
#B5AE35 #35B56E #353CB5 #B5357C
square
#B5AE35 #35B56E #353CB5 #B5357C
split-complementary
#B5AE35 #357CB5 #6E35B5
monochromatic
#565319 #868027 #B5AE35 #CEC859 #DCD888
Accessibility & contrast
On white
2.32
#B5AE35 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B5AE35 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE35
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE35 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 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)
#BDA821
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae35; /* rgb */ color: rgb(181, 174, 53); /* oklch */ color: oklch(73.5% 0.138 106.0);
Tailwind
colors: {
custom: {
50: '#cfc574',
500: '#b5ae35',
950: '#000000',
},
}SCSS
$custom: #b5ae35; $custom-light: #cfc574; $custom-dark: #000000;
JSON
{
"hex": "#b5ae35",
"rgb": {
"r": 181,
"g": 174,
"b": 53
},
"hsl": {
"h": 56.719,
"s": 54.701,
"l": 45.882
},
"oklch": {
"l": 0.73497,
"c": 0.13791,
"h": 106
},
"luminance": 0.40353
}Semantic roles & 50–950 ramp
primary
#B5AE35
secondary
#8083C6
accent
#52DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B