#B5A430#B5A430
#B5A430 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.132 H 100.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A430 |
|---|---|
| RGB | rgb(181, 164, 48) |
| HSL | hsl(52, 58%, 45%) |
| HSV | hsv(52, 73%, 71%) |
| CMYK | cmyk(0%, 9.4%, 73.5%, 29%) |
| CIE-LAB | lab(66.97, -6.67, 58.84) |
| CIE-LCH | lch(66.97, 59.22, 96.47°) |
| OKLab | oklab(71.3% -0.0245 0.1299) |
| OKLCH | oklch(71.3% 0.132 100.7) |
| XYZ | xyz(32.8665, 36.5896, 8.1270) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.00
Brown Yellow
#B29705
ΔE00 4.82
Puke
#A5A502
ΔE00 5.13
Vomit
#A2A415
ΔE00 5.42
Brownish Yellow
#C9B003
ΔE00 5.57
Ocher
#BF9B0C
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A430 #3041B5
analogous
#B56230 #B5A430 #83B530
triadic
#B5A430 #30B5A4 #A430B5
tetradic
#B5A430 #30B562 #3041B5 #B53083
square
#B5A430 #30B562 #3041B5 #B53083
split-complementary
#B5A430 #3083B5 #6230B5
monochromatic
#544C16 #857823 #B5A430 #D1C151 #DED282
Accessibility & contrast
On white
2.52
#B5A430 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#B5A430 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A430
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A430 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A430 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#C3988D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b5a430; /* rgb */ color: rgb(181, 164, 48); /* oklch */ color: oklch(71.3% 0.132 100.7);
Tailwind
colors: {
custom: {
50: '#cfbe71',
500: '#b5a430',
950: '#000000',
},
}SCSS
$custom: #b5a430; $custom-light: #cfbe71; $custom-dark: #000000;
JSON
{
"hex": "#b5a430",
"rgb": {
"r": 181,
"g": 164,
"b": 48
},
"hsl": {
"h": 52.331,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.71298,
"c": 0.13221,
"h": 100.7
},
"luminance": 0.36588
}Semantic roles & 50–950 ramp
primary
#B5A430
secondary
#7A84C7
accent
#5AE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B