#B5A63A#B5A63A
#B5A63A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.127 H 101.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B5A63A |
|---|---|
| RGB | rgb(181, 166, 58) |
| HSL | hsl(53, 51%, 47%) |
| HSV | hsv(53, 68%, 71%) |
| CMYK | cmyk(0%, 8.3%, 68%, 29%) |
| CIE-LAB | lab(67.58, -7.21, 55.52) |
| CIE-LCH | lch(67.58, 55.99, 97.40°) |
| OKLab | oklab(71.8% -0.0249 0.1247) |
| OKLCH | oklch(71.8% 0.127 101.3) |
| XYZ | xyz(33.4574, 37.4031, 9.4593) |
| Luminance | 0.3740 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.62
Puke
#A5A502
ΔE00 5.27
Vomit
#A2A415
ΔE00 5.39
Brown Yellow
#B29705
ΔE00 5.87
Brownish Yellow
#C9B003
ΔE00 6.11
Olive Yellow
#C2B709
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5A63A #3A49B5
analogous
#B5693A #B5A63A #87B53A
triadic
#B5A63A #3AB5A6 #A63AB5
tetradic
#B5A63A #3AB569 #3A49B5 #B53A87
square
#B5A63A #3AB569 #3A49B5 #B53A87
split-complementary
#B5A63A #3A87B5 #693AB5
monochromatic
#58511C #877B2B #B5A63A #CCBF60 #DBD28E
Accessibility & contrast
On white
2.48
#B5A63A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B5A63A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5A63A
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5A63A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5A63A | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#BAA740
Tritanopia (blue-blind)
#C39A90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b5a63a; /* rgb */ color: rgb(181, 166, 58); /* oklch */ color: oklch(71.8% 0.127 101.3);
Tailwind
colors: {
custom: {
50: '#cec076',
500: '#b5a63a',
950: '#000000',
},
}SCSS
$custom: #b5a63a; $custom-light: #cec076; $custom-dark: #000000;
JSON
{
"hex": "#b5a63a",
"rgb": {
"r": 181,
"g": 166,
"b": 58
},
"hsl": {
"h": 52.683,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.71804,
"c": 0.12717,
"h": 101.3
},
"luminance": 0.37402
}Semantic roles & 50–950 ramp
primary
#B5A63A
secondary
#858DC6
accent
#5EDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B