#B5AE33#B5AE33
#B5AE33 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.139 H 106.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE33 |
|---|---|
| RGB | rgb(181, 174, 51) |
| HSL | hsl(57, 56%, 45%) |
| HSV | hsv(57, 72%, 71%) |
| CMYK | cmyk(0%, 3.9%, 71.8%, 29%) |
| CIE-LAB | lab(69.71, -11.76, 60.38) |
| CIE-LCH | lch(69.71, 61.52, 101.03°) |
| OKLab | oklab(73.48% -0.0385 0.1337) |
| OKLCH | oklch(73.48% 0.139 106.1) |
| XYZ | xyz(34.7910, 40.3361, 9.0843) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.00
Vomit
#A2A415
ΔE00 4.27
Muddy Yellow
#BFAC05
ΔE00 4.32
Olive Yellow
#C2B709
ΔE00 4.35
Mustard Green
#A8B504
ΔE00 5.30
Puke Yellow
#C2BE0E
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE33 #333AB5
analogous
#B56D33 #B5AE33 #7BB533
triadic
#B5AE33 #33B5AE #AE33B5
tetradic
#B5AE33 #33B56D #333AB5 #B5337B
square
#B5AE33 #33B56D #333AB5 #B5337B
split-complementary
#B5AE33 #337BB5 #6D33B5
monochromatic
#565218 #858026 #B5AE33 #CFC956 #DDD886
Accessibility & contrast
On white
2.32
#B5AE33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B5AE33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE33
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE33 | 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)
#BDA81E
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae33; /* rgb */ color: rgb(181, 174, 51); /* oklch */ color: oklch(73.5% 0.139 106.1);
Tailwind
colors: {
custom: {
50: '#cfc573',
500: '#b5ae33',
950: '#000000',
},
}SCSS
$custom: #b5ae33; $custom-light: #cfc573; $custom-dark: #000000;
JSON
{
"hex": "#b5ae33",
"rgb": {
"r": 181,
"g": 174,
"b": 51
},
"hsl": {
"h": 56.769,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.73483,
"c": 0.13918,
"h": 106.1
},
"luminance": 0.40335
}Semantic roles & 50–950 ramp
primary
#B5AE33
secondary
#7D81C6
accent
#51DF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B