#B5AA2E#B5AA2E
#B5AA2E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.139 H 104.1°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA2E |
|---|---|
| RGB | rgb(181, 170, 46) |
| HSL | hsl(55, 59%, 45%) |
| HSV | hsv(55, 75%, 71%) |
| CMYK | cmyk(0%, 6.1%, 74.6%, 29%) |
| CIE-LAB | lab(68.59, -9.92, 61.10) |
| CIE-LCH | lch(68.59, 61.90, 99.22°) |
| OKLab | oklab(72.58% -0.0338 0.1343) |
| OKLCH | oklch(72.58% 0.139 104.1) |
| XYZ | xyz(33.9254, 38.7718, 8.2809) |
| Luminance | 0.3877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.51
Puke
#A5A502
ΔE00 3.90
Vomit
#A2A415
ΔE00 4.29
Olive Yellow
#C2B709
ΔE00 4.69
Brownish Yellow
#C9B003
ΔE00 5.32
Puke Yellow
#C2BE0E
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA2E #2E39B5
analogous
#B5672E #B5AA2E #7DB52E
triadic
#B5AA2E #2EB5AA #AA2EB5
tetradic
#B5AA2E #2EB567 #2E39B5 #B52E7D
square
#B5AA2E #2EB567 #2E39B5 #B52E7D
split-complementary
#B5AA2E #2E7DB5 #672EB5
monochromatic
#534E15 #847C22 #B5AA2E #D2C74E #DED77F
Accessibility & contrast
On white
2.40
#B5AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B5AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA2E
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA2E | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A415
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b5aa2e; /* rgb */ color: rgb(181, 170, 46); /* oklch */ color: oklch(72.6% 0.139 104.1);
Tailwind
colors: {
custom: {
50: '#cfc270',
500: '#b5aa2e',
950: '#000000',
},
}SCSS
$custom: #b5aa2e; $custom-light: #cfc270; $custom-dark: #000000;
JSON
{
"hex": "#b5aa2e",
"rgb": {
"r": 181,
"g": 170,
"b": 46
},
"hsl": {
"h": 55.111,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.72579,
"c": 0.13854,
"h": 104.1
},
"luminance": 0.3877
}Semantic roles & 50–950 ramp
primary
#B5AA2E
secondary
#787EC7
accent
#52E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B