#B5A149#B5A149
#B5A149 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.111 H 96.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A149 |
|---|---|
| RGB | rgb(181, 161, 73) |
| HSL | hsl(49, 43%, 50%) |
| HSV | hsv(49, 60%, 71%) |
| CMYK | cmyk(0%, 11%, 59.7%, 29%) |
| CIE-LAB | lab(66.36, -3.58, 47.54) |
| CIE-LCH | lch(66.36, 47.68, 94.30°) |
| OKLab | oklab(70.88% -0.0128 0.11) |
| OKLCH | oklch(70.88% 0.111 96.6) |
| XYZ | xyz(33.0049, 35.7960, 11.4729) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 5.39
Desert
#CCAD60
ΔE00 5.84
Brown Yellow
#B29705
ΔE00 6.06
Khaki (survey)
#AAA662
ΔE00 6.08
Dark Gold
#B59410
ΔE00 6.52
Ocher
#BF9B0C
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A149 #495DB5
analogous
#B56B49 #B5A149 #93B549
triadic
#B5A149 #49B5A1 #A149B5
tetradic
#B5A149 #49B56B #495DB5 #B54993
square
#B5A149 #49B56B #495DB5 #B54993
split-complementary
#B5A149 #4993B5 #6B49B5
monochromatic
#5E5326 #897A37 #B5A149 #C7B874 #D9CEA0
Accessibility & contrast
On white
2.57
#B5A149 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#B5A149 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A149
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A149 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A149 | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09E40
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#C2968E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b5a149; /* rgb */ color: rgb(181, 161, 73); /* oklch */ color: oklch(70.9% 0.111 96.6);
Tailwind
colors: {
custom: {
50: '#cebc7f',
500: '#b5a149',
950: '#000000',
},
}SCSS
$custom: #b5a149; $custom-light: #cebc7f; $custom-dark: #000000;
JSON
{
"hex": "#b5a149",
"rgb": {
"r": 181,
"g": 161,
"b": 73
},
"hsl": {
"h": 48.889,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.70884,
"c": 0.11073,
"h": 96.6
},
"luminance": 0.35795
}Semantic roles & 50–950 ramp
primary
#B5A149
secondary
#949EC5
accent
#6DD255
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C