#B5AA45#B5AA45
#B5AA45 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.122 H 103.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA45 |
|---|---|
| RGB | rgb(181, 170, 69) |
| HSL | hsl(54, 45%, 49%) |
| HSV | hsv(54, 62%, 71%) |
| CMYK | cmyk(0%, 6.1%, 61.9%, 29%) |
| CIE-LAB | lab(68.75, -8.63, 52.03) |
| CIE-LCH | lch(68.75, 52.74, 99.42°) |
| OKLab | oklab(72.77% -0.0277 0.119) |
| OKLCH | oklch(72.77% 0.122 103.1) |
| XYZ | xyz(34.5062, 39.0042, 11.3400) |
| Luminance | 0.3900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.49
Puke
#A5A502
ΔE00 5.59
Muddy Yellow
#BFAC05
ΔE00 5.61
Darkkhaki
#BDB76B
ΔE00 5.63
Khaki (survey)
#AAA662
ΔE00 5.91
Olive Yellow
#C2B709
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA45 #4550B5
analogous
#B57245 #B5AA45 #88B545
triadic
#B5AA45 #45B5AA #AA45B5
tetradic
#B5AA45 #45B572 #4550B5 #B54588
square
#B5AA45 #45B572 #4550B5 #B54588
split-complementary
#B5AA45 #4588B5 #7245B5
monochromatic
#5C5723 #898034 #B5AA45 #C8BF6F #D9D39B
Accessibility & contrast
On white
2.39
#B5AA45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#B5AA45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA45
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA45 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A539
Deuteranopia (green-blind)
#BCAA4B
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5aa45; /* rgb */ color: rgb(181, 170, 69); /* oklch */ color: oklch(72.8% 0.122 103.1);
Tailwind
colors: {
custom: {
50: '#cec37d',
500: '#b5aa45',
950: '#000000',
},
}SCSS
$custom: #b5aa45; $custom-light: #cec37d; $custom-dark: #000000;
JSON
{
"hex": "#b5aa45",
"rgb": {
"r": 181,
"g": 170,
"b": 69
},
"hsl": {
"h": 54.107,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.72767,
"c": 0.12221,
"h": 103.1
},
"luminance": 0.39003
}Semantic roles & 50–950 ramp
primary
#B5AA45
secondary
#9196C5
accent
#60D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C