#B5A53A#B5A53A
#B5A53A is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.126 H 100.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A53A |
|---|---|
| RGB | rgb(181, 165, 58) |
| HSL | hsl(52, 51%, 47%) |
| HSV | hsv(52, 68%, 71%) |
| CMYK | cmyk(0%, 8.8%, 68%, 29%) |
| CIE-LAB | lab(67.31, -6.69, 55.24) |
| CIE-LCH | lch(67.31, 55.65, 96.90°) |
| OKLab | oklab(71.59% -0.0234 0.1241) |
| OKLCH | oklch(71.59% 0.126 100.7) |
| XYZ | xyz(33.2764, 37.0410, 9.3990) |
| Luminance | 0.3704 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.74
Puke
#A5A502
ΔE00 5.50
Brown Yellow
#B29705
ΔE00 5.57
Vomit
#A2A415
ΔE00 5.62
Brownish Yellow
#C9B003
ΔE00 6.18
Ocher
#BF9B0C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A53A #3A4AB5
analogous
#B5683A #B5A53A #88B53A
triadic
#B5A53A #3AB5A5 #A53AB5
tetradic
#B5A53A #3AB568 #3A4AB5 #B53A88
square
#B5A53A #3AB568 #3A4AB5 #B53A88
split-complementary
#B5A53A #3A88B5 #683AB5
monochromatic
#58501C #877B2B #B5A53A #CCBE60 #DBD18E
Accessibility & contrast
On white
2.50
#B5A53A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#B5A53A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A53A
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A53A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A53A | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A02B
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#C3998F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b5a53a; /* rgb */ color: rgb(181, 165, 58); /* oklch */ color: oklch(71.6% 0.126 100.7);
Tailwind
colors: {
custom: {
50: '#cebf76',
500: '#b5a53a',
950: '#000000',
},
}SCSS
$custom: #b5a53a; $custom-light: #cebf76; $custom-dark: #000000;
JSON
{
"hex": "#b5a53a",
"rgb": {
"r": 181,
"g": 165,
"b": 58
},
"hsl": {
"h": 52.195,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.71589,
"c": 0.12631,
"h": 100.7
},
"luminance": 0.3704
}Semantic roles & 50–950 ramp
primary
#B5A53A
secondary
#858EC6
accent
#5FDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B