#B5AD31#B5AD31
#B5AD31 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.139 H 105.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AD31 |
|---|---|
| RGB | rgb(181, 173, 49) |
| HSL | hsl(56, 57%, 45%) |
| HSV | hsv(56, 73%, 71%) |
| CMYK | cmyk(0%, 4.4%, 72.9%, 29%) |
| CIE-LAB | lab(69.42, -11.34, 60.83) |
| CIE-LCH | lch(69.42, 61.88, 100.56°) |
| OKLab | oklab(73.25% -0.0376 0.1343) |
| OKLCH | oklch(73.25% 0.139 105.6) |
| XYZ | xyz(34.5554, 39.9339, 8.7929) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.89
Muddy Yellow
#BFAC05
ΔE00 4.03
Vomit
#A2A415
ΔE00 4.21
Olive Yellow
#C2B709
ΔE00 4.34
Mustard Green
#A8B504
ΔE00 5.52
Puke Yellow
#C2BE0E
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AD31 #3139B5
analogous
#B56B31 #B5AD31 #7BB531
triadic
#B5AD31 #31B5AD #AD31B5
tetradic
#B5AD31 #31B56B #3139B5 #B5317B
square
#B5AD31 #31B56B #3139B5 #B5317B
split-complementary
#B5AD31 #317BB5 #6B31B5
monochromatic
#555117 #857F24 #B5AD31 #D0C953 #DDD883
Accessibility & contrast
On white
2.34
#B5AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#B5AD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AD31
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AD31 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA71A
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C2A195
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b5ad31; /* rgb */ color: rgb(181, 173, 49); /* oklch */ color: oklch(73.3% 0.139 105.6);
Tailwind
colors: {
custom: {
50: '#cfc572',
500: '#b5ad31',
950: '#000000',
},
}SCSS
$custom: #b5ad31; $custom-light: #cfc572; $custom-dark: #000000;
JSON
{
"hex": "#b5ad31",
"rgb": {
"r": 181,
"g": 173,
"b": 49
},
"hsl": {
"h": 56.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.73251,
"c": 0.13948,
"h": 105.6
},
"luminance": 0.39933
}Semantic roles & 50–950 ramp
primary
#B5AD31
secondary
#7B80C7
accent
#50E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B