#B7AA46#B7AA46
#B7AA46 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.121 H 101.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AA46 |
|---|---|
| RGB | rgb(183, 170, 70) |
| HSL | hsl(53, 45%, 50%) |
| HSV | hsv(53, 62%, 72%) |
| CMYK | cmyk(0%, 7.1%, 61.7%, 28.2%) |
| CIE-LAB | lab(68.94, -7.70, 51.83) |
| CIE-LCH | lch(68.94, 52.40, 98.45°) |
| OKLab | oklab(72.96% -0.0251 0.1187) |
| OKLCH | oklch(72.96% 0.121 101.9) |
| XYZ | xyz(35.0100, 39.2603, 11.5270) |
| Luminance | 0.3926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.47
Darkkhaki
#BDB76B
ΔE00 5.65
Vomit
#A2A415
ΔE00 5.96
Puke
#A5A502
ΔE00 5.99
Khaki (survey)
#AAA662
ΔE00 6.06
Olive Yellow
#C2B709
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AA46 #4653B7
analogous
#B77146 #B7AA46 #8CB746
triadic
#B7AA46 #46B7AA #AA46B7
tetradic
#B7AA46 #46B771 #4653B7 #B7468C
square
#B7AA46 #46B771 #4653B7 #B7468C
split-complementary
#B7AA46 #468CB7 #7146B7
monochromatic
#5E5824 #8B8135 #B7AA46 #C9BF71 #DAD39E
Accessibility & contrast
On white
2.37
#B7AA46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#B7AA46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AA46
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AA46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AA46 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A53B
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#C49F95
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b7aa46; /* rgb */ color: rgb(183, 170, 70); /* oklch */ color: oklch(73.0% 0.121 101.9);
Tailwind
colors: {
custom: {
50: '#cfc37e',
500: '#b7aa46',
950: '#000000',
},
}SCSS
$custom: #b7aa46; $custom-light: #cfc37e; $custom-dark: #000000;
JSON
{
"hex": "#b7aa46",
"rgb": {
"r": 183,
"g": 170,
"b": 70
},
"hsl": {
"h": 53.097,
"s": 44.664,
"l": 49.608
},
"oklch": {
"l": 0.72959,
"c": 0.12132,
"h": 101.9
},
"luminance": 0.39259
}Semantic roles & 50–950 ramp
primary
#B7AA46
secondary
#9399C6
accent
#62D453
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C