#B5A330#B5A330
#B5A330 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.131 H 100.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A330 |
|---|---|
| RGB | rgb(181, 163, 48) |
| HSL | hsl(52, 58%, 45%) |
| HSV | hsv(52, 73%, 71%) |
| CMYK | cmyk(0%, 9.9%, 73.5%, 29%) |
| CIE-LAB | lab(66.70, -6.14, 58.58) |
| CIE-LCH | lch(66.70, 58.90, 95.99°) |
| OKLab | oklab(71.08% -0.023 0.1294) |
| OKLCH | oklch(71.08% 0.131 100.1) |
| XYZ | xyz(32.6883, 36.2331, 8.0676) |
| Luminance | 0.3623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.19
Brown Yellow
#B29705
ΔE00 4.51
Puke
#A5A502
ΔE00 5.40
Ocher
#BF9B0C
ΔE00 5.59
Vomit
#A2A415
ΔE00 5.69
Brownish Yellow
#C9B003
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A330 #3042B5
analogous
#B56130 #B5A330 #84B530
triadic
#B5A330 #30B5A3 #A330B5
tetradic
#B5A330 #30B561 #3042B5 #B53084
square
#B5A330 #30B561 #3042B5 #B53084
split-complementary
#B5A330 #3084B5 #6130B5
monochromatic
#544C16 #857723 #B5A330 #D1C051 #DED182
Accessibility & contrast
On white
2.55
#B5A330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#B5A330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A330
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A330 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#C3978D
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b5a330; /* rgb */ color: rgb(181, 163, 48); /* oklch */ color: oklch(71.1% 0.131 100.1);
Tailwind
colors: {
custom: {
50: '#cfbd70',
500: '#b5a330',
950: '#000000',
},
}SCSS
$custom: #b5a330; $custom-light: #cfbd70; $custom-dark: #000000;
JSON
{
"hex": "#b5a330",
"rgb": {
"r": 181,
"g": 163,
"b": 48
},
"hsl": {
"h": 51.88,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.71083,
"c": 0.1314,
"h": 100.1
},
"luminance": 0.36232
}Semantic roles & 50–950 ramp
primary
#B5A330
secondary
#7A84C7
accent
#5BE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B