#B5A03B#B5A03B
#B5A03B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.121 H 97.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A03B |
|---|---|
| RGB | rgb(181, 160, 59) |
| HSL | hsl(50, 51%, 47%) |
| HSV | hsv(50, 67%, 71%) |
| CMYK | cmyk(0%, 11.6%, 67.4%, 29%) |
| CIE-LAB | lab(65.97, -3.97, 53.44) |
| CIE-LCH | lch(65.97, 53.58, 94.25°) |
| OKLab | oklab(70.53% -0.0156 0.1205) |
| OKLCH | oklch(70.53% 0.121 97.4) |
| XYZ | xyz(32.4178, 35.2827, 9.2395) |
| Luminance | 0.3528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.46
Dark Gold
#B59410
ΔE00 5.25
Ocher
#BF9B0C
ΔE00 5.29
Baby Shit Brown
#AD900D
ΔE00 5.69
Baby Poo
#AB9004
ΔE00 5.77
Yellow Brown
#B79400
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A03B #3B50B5
analogous
#B5633B #B5A03B #8DB53B
triadic
#B5A03B #3BB5A0 #A03BB5
tetradic
#B5A03B #3BB563 #3B50B5 #B53B8D
square
#B5A03B #3BB563 #3B50B5 #B53B8D
split-complementary
#B5A03B #3B8DB5 #633BB5
monochromatic
#594E1D #87772C #B5A03B #CCB962 #DBCE90
Accessibility & contrast
On white
2.61
#B5A03B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#B5A03B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A03B
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A03B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A03B | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C2E
Deuteranopia (green-blind)
#B5A340
Tritanopia (blue-blind)
#C3948B
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b5a03b; /* rgb */ color: rgb(181, 160, 59); /* oklch */ color: oklch(70.5% 0.121 97.4);
Tailwind
colors: {
custom: {
50: '#cebb76',
500: '#b5a03b',
950: '#000000',
},
}SCSS
$custom: #b5a03b; $custom-light: #cebb76; $custom-dark: #000000;
JSON
{
"hex": "#b5a03b",
"rgb": {
"r": 181,
"g": 160,
"b": 59
},
"hsl": {
"h": 49.672,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.7053,
"c": 0.12147,
"h": 97.4
},
"luminance": 0.35281
}Semantic roles & 50–950 ramp
primary
#B5A03B
secondary
#8691C6
accent
#66DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B