#B5A246#B5A246
#B5A246 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.114 H 97.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A246 |
|---|---|
| RGB | rgb(181, 162, 70) |
| HSL | hsl(50, 44%, 49%) |
| HSV | hsv(50, 61%, 71%) |
| CMYK | cmyk(0%, 10.5%, 61.3%, 29%) |
| CIE-LAB | lab(66.60, -4.33, 49.21) |
| CIE-LCH | lch(66.60, 49.40, 95.03°) |
| OKLab | oklab(71.06% -0.0153 0.1132) |
| OKLCH | oklch(71.06% 0.114 97.7) |
| XYZ | xyz(33.0832, 36.1081, 11.0201) |
| Luminance | 0.3611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.85
Sandy Brown
#C4A661
ΔE00 5.92
Desert
#CCAD60
ΔE00 6.14
Khaki (survey)
#AAA662
ΔE00 6.18
Dark Gold
#B59410
ΔE00 6.52
Ocher
#BF9B0C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A246 #4659B5
analogous
#B56B46 #B5A246 #91B546
triadic
#B5A246 #46B5A2 #A246B5
tetradic
#B5A246 #46B56B #4659B5 #B54691
square
#B5A246 #46B56B #4659B5 #B54691
split-complementary
#B5A246 #4691B5 #6B46B5
monochromatic
#5D5324 #897B35 #B5A246 #C8B970 #D9CF9C
Accessibility & contrast
On white
2.55
#B5A246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B5A246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A246
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A246 | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E3C
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#C2978E
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b5a246; /* rgb */ color: rgb(181, 162, 70); /* oklch */ color: oklch(71.1% 0.114 97.7);
Tailwind
colors: {
custom: {
50: '#cebd7d',
500: '#b5a246',
950: '#000000',
},
}SCSS
$custom: #b5a246; $custom-light: #cebd7d; $custom-dark: #000000;
JSON
{
"hex": "#b5a246",
"rgb": {
"r": 181,
"g": 162,
"b": 70
},
"hsl": {
"h": 49.73,
"s": 44.223,
"l": 49.216
},
"oklch": {
"l": 0.71063,
"c": 0.1142,
"h": 97.7
},
"luminance": 0.36107
}Semantic roles & 50–950 ramp
primary
#B5A246
secondary
#929AC5
accent
#6AD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C