#B5AA3E#B5AA3E
#B5AA3E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.128 H 103.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA3E |
|---|---|
| RGB | rgb(181, 170, 62) |
| HSL | hsl(54, 49%, 48%) |
| HSV | hsv(54, 66%, 71%) |
| CMYK | cmyk(0%, 6.1%, 65.7%, 29%) |
| CIE-LAB | lab(68.69, -9.08, 55.01) |
| CIE-LCH | lch(68.69, 55.75, 99.38°) |
| OKLab | oklab(72.7% -0.0298 0.1243) |
| OKLCH | oklch(72.7% 0.128 103.5) |
| XYZ | xyz(34.3016, 38.9223, 10.2624) |
| Luminance | 0.3892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.86
Puke
#A5A502
ΔE00 4.92
Vomit
#A2A415
ΔE00 4.95
Olive Yellow
#C2B709
ΔE00 5.89
Darkkhaki
#BDB76B
ΔE00 6.32
Brownish Yellow
#C9B003
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA3E #3E49B5
analogous
#B56F3E #B5AA3E #84B53E
triadic
#B5AA3E #3EB5AA #AA3EB5
tetradic
#B5AA3E #3EB56F #3E49B5 #B53E84
square
#B5AA3E #3EB56F #3E49B5 #B53E84
split-complementary
#B5AA3E #3E84B5 #6F3EB5
monochromatic
#5A541F #877F2E #B5AA3E #CAC166 #DAD493
Accessibility & contrast
On white
2.39
#B5AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#B5AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA3E
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA3E | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#C29F94
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b5aa3e; /* rgb */ color: rgb(181, 170, 62); /* oklch */ color: oklch(72.7% 0.128 103.5);
Tailwind
colors: {
custom: {
50: '#cec379',
500: '#b5aa3e',
950: '#000000',
},
}SCSS
$custom: #b5aa3e; $custom-light: #cec379; $custom-dark: #000000;
JSON
{
"hex": "#b5aa3e",
"rgb": {
"r": 181,
"g": 170,
"b": 62
},
"hsl": {
"h": 54.454,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.72701,
"c": 0.1278,
"h": 103.5
},
"luminance": 0.38921
}Semantic roles & 50–950 ramp
primary
#B5AA3E
secondary
#898FC5
accent
#5CD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B