#B5AE32#B5AE32
#B5AE32 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.140 H 106.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE32 |
|---|---|
| RGB | rgb(181, 174, 50) |
| HSL | hsl(57, 57%, 45%) |
| HSV | hsv(57, 72%, 71%) |
| CMYK | cmyk(0%, 3.9%, 72.4%, 29%) |
| CIE-LAB | lab(69.70, -11.81, 60.74) |
| CIE-LCH | lch(69.70, 61.88, 101.01°) |
| OKLab | oklab(73.48% -0.0388 0.1343) |
| OKLCH | oklch(73.48% 0.14 106.1) |
| XYZ | xyz(34.7692, 40.3274, 8.9695) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.96
Vomit
#A2A415
ΔE00 4.24
Muddy Yellow
#BFAC05
ΔE00 4.26
Olive Yellow
#C2B709
ΔE00 4.28
Mustard Green
#A8B504
ΔE00 5.26
Puke Yellow
#C2BE0E
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE32 #3239B5
analogous
#B56C32 #B5AE32 #7AB532
triadic
#B5AE32 #32B5AE #AE32B5
tetradic
#B5AE32 #32B56C #3239B5 #B5327A
square
#B5AE32 #32B56C #3239B5 #B5327A
split-complementary
#B5AE32 #327AB5 #6C32B5
monochromatic
#555218 #858025 #B5AE32 #D0C954 #DDD884
Accessibility & contrast
On white
2.32
#B5AE32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B5AE32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE32
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE32 | 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)
#BDA71C
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae32; /* rgb */ color: rgb(181, 174, 50); /* oklch */ color: oklch(73.5% 0.140 106.1);
Tailwind
colors: {
custom: {
50: '#cfc573',
500: '#b5ae32',
950: '#000000',
},
}SCSS
$custom: #b5ae32; $custom-light: #cfc573; $custom-dark: #000000;
JSON
{
"hex": "#b5ae32",
"rgb": {
"r": 181,
"g": 174,
"b": 50
},
"hsl": {
"h": 56.794,
"s": 56.71,
"l": 45.294
},
"oklch": {
"l": 0.73476,
"c": 0.1398,
"h": 106.1
},
"luminance": 0.40326
}Semantic roles & 50–950 ramp
primary
#B5AE32
secondary
#7C80C7
accent
#50E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B