#B5A045#B5A045
#B5A045 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.113 H 96.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A045 |
|---|---|
| RGB | rgb(181, 160, 69) |
| HSL | hsl(49, 45%, 49%) |
| HSV | hsv(49, 62%, 71%) |
| CMYK | cmyk(0%, 11.6%, 61.9%, 29%) |
| CIE-LAB | lab(66.06, -3.33, 49.07) |
| CIE-LCH | lch(66.06, 49.18, 93.88°) |
| OKLab | oklab(70.63% -0.0125 0.1127) |
| OKLCH | oklch(70.63% 0.113 96.4) |
| XYZ | xyz(32.7024, 35.3966, 10.7387) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.49
Sandy Brown
#C4A661
ΔE00 5.63
Dark Gold
#B59410
ΔE00 5.95
Desert
#CCAD60
ΔE00 6.04
Ocher
#BF9B0C
ΔE00 6.10
Baby Shit Brown
#AD900D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A045 #455AB5
analogous
#B56845 #B5A045 #92B545
triadic
#B5A045 #45B5A0 #A045B5
tetradic
#B5A045 #45B568 #455AB5 #B54592
square
#B5A045 #45B568 #455AB5 #B54592
split-complementary
#B5A045 #4592B5 #6845B5
monochromatic
#5C5223 #897934 #B5A045 #C8B76F #D9CD9B
Accessibility & contrast
On white
2.60
#B5A045 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#B5A045 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A045
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A045 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A045 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9D3B
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#C2958C
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b5a045; /* rgb */ color: rgb(181, 160, 69); /* oklch */ color: oklch(70.6% 0.113 96.4);
Tailwind
colors: {
custom: {
50: '#cebb7c',
500: '#b5a045',
950: '#000000',
},
}SCSS
$custom: #b5a045; $custom-light: #cebb7c; $custom-dark: #000000;
JSON
{
"hex": "#b5a045",
"rgb": {
"r": 181,
"g": 160,
"b": 69
},
"hsl": {
"h": 48.75,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.70628,
"c": 0.11343,
"h": 96.4
},
"luminance": 0.35395
}Semantic roles & 50–950 ramp
primary
#B5A045
secondary
#919AC5
accent
#6CD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C