#B5A52A#B5A52A
#B5A52A is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.137 H 101.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A52A |
|---|---|
| RGB | rgb(181, 165, 42) |
| HSL | hsl(53, 62%, 44%) |
| HSV | hsv(53, 77%, 71%) |
| CMYK | cmyk(0%, 8.8%, 76.8%, 29%) |
| CIE-LAB | lab(67.20, -7.46, 61.19) |
| CIE-LCH | lch(67.20, 61.64, 96.95°) |
| OKLab | oklab(71.47% -0.0273 0.1338) |
| OKLCH | oklch(71.47% 0.137 101.5) |
| XYZ | xyz(32.9307, 36.9027, 7.5784) |
| Luminance | 0.3690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.42
Puke
#A5A502
ΔE00 4.62
Brown Yellow
#B29705
ΔE00 4.99
Vomit
#A2A415
ΔE00 5.04
Brownish Yellow
#C9B003
ΔE00 5.16
Olive Yellow
#C2B709
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A52A #2A3AB5
analogous
#B55F2A #B5A52A #7FB52A
triadic
#B5A52A #2AB5A5 #A52AB5
tetradic
#B5A52A #2AB55F #2A3AB5 #B52A7F
square
#B5A52A #2AB55F #2A3AB5 #B52A7F
split-complementary
#B5A52A #2A7FB5 #5F2AB5
monochromatic
#524A13 #83781E #B5A52A #D4C448 #E0D479
Accessibility & contrast
On white
2.51
#B5A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#B5A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A52A
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A52A | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#BAA633
Tritanopia (blue-blind)
#C3998E
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b5a52a; /* rgb */ color: rgb(181, 165, 42); /* oklch */ color: oklch(71.5% 0.137 101.5);
Tailwind
colors: {
custom: {
50: '#cfbf6e',
500: '#b5a52a',
950: '#000000',
},
}SCSS
$custom: #b5a52a; $custom-light: #cfbf6e; $custom-dark: #000000;
JSON
{
"hex": "#b5a52a",
"rgb": {
"r": 181,
"g": 165,
"b": 42
},
"hsl": {
"h": 53.094,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.71474,
"c": 0.13651,
"h": 101.5
},
"luminance": 0.36901
}Semantic roles & 50–950 ramp
primary
#B5A52A
secondary
#737DC8
accent
#55E542
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B