#B5AA2B#B5AA2B
#B5AA2B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.140 H 104.2°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AA2B |
|---|---|
| RGB | rgb(181, 170, 43) |
| HSL | hsl(55, 62%, 44%) |
| HSV | hsv(55, 76%, 71%) |
| CMYK | cmyk(0%, 6.1%, 76.2%, 29%) |
| CIE-LAB | lab(68.57, -10.04, 62.11) |
| CIE-LCH | lch(68.57, 62.92, 99.19°) |
| OKLab | oklab(72.56% -0.0345 0.1359) |
| OKLCH | oklch(72.56% 0.14 104.2) |
| XYZ | xyz(33.8683, 38.7490, 7.9803) |
| Luminance | 0.3875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.32
Puke
#A5A502
ΔE00 3.78
Vomit
#A2A415
ΔE00 4.24
Olive Yellow
#C2B709
ΔE00 4.52
Brownish Yellow
#C9B003
ΔE00 5.18
Puke Yellow
#C2BE0E
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AA2B #2B36B5
analogous
#B5652B #B5AA2B #7BB52B
triadic
#B5AA2B #2BB5AA #AA2BB5
tetradic
#B5AA2B #2BB565 #2B36B5 #B52B7B
square
#B5AA2B #2BB565 #2B36B5 #B52B7B
split-complementary
#B5AA2B #2B7BB5 #652BB5
monochromatic
#524D14 #847C1F #B5AA2B #D4C949 #E0D87B
Accessibility & contrast
On white
2.40
#B5AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#B5AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AA2B
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AA2B | 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)
#BAA40E
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#C39E92
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b5aa2b; /* rgb */ color: rgb(181, 170, 43); /* oklch */ color: oklch(72.6% 0.140 104.2);
Tailwind
colors: {
custom: {
50: '#cfc26f',
500: '#b5aa2b',
950: '#000000',
},
}SCSS
$custom: #b5aa2b; $custom-light: #cfc26f; $custom-dark: #000000;
JSON
{
"hex": "#b5aa2b",
"rgb": {
"r": 181,
"g": 170,
"b": 43
},
"hsl": {
"h": 55.217,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.72561,
"c": 0.14022,
"h": 104.2
},
"luminance": 0.38748
}Semantic roles & 50–950 ramp
primary
#B5AA2B
secondary
#747BC8
accent
#50E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B