#B7AA3E#B7AA3E
#B7AA3E is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.128 H 102.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AA3E |
|---|---|
| RGB | rgb(183, 170, 62) |
| HSL | hsl(54, 49%, 48%) |
| HSV | hsv(54, 66%, 72%) |
| CMYK | cmyk(0%, 7.1%, 66.1%, 28.2%) |
| CIE-LAB | lab(68.87, -8.21, 55.25) |
| CIE-LCH | lch(68.87, 55.85, 98.46°) |
| OKLab | oklab(72.88% -0.0275 0.1247) |
| OKLCH | oklch(72.88% 0.128 102.4) |
| XYZ | xyz(34.7741, 39.1659, 10.2846) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.56
Puke
#A5A502
ΔE00 5.27
Vomit
#A2A415
ΔE00 5.38
Olive Yellow
#C2B709
ΔE00 5.81
Brownish Yellow
#C9B003
ΔE00 5.96
Darkkhaki
#BDB76B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AA3E #3E4BB7
analogous
#B76E3E #B7AA3E #87B73E
triadic
#B7AA3E #3EB7AA #AA3EB7
tetradic
#B7AA3E #3EB76E #3E4BB7 #B73E87
square
#B7AA3E #3EB76E #3E4BB7 #B73E87
split-complementary
#B7AA3E #3E87B7 #6E3EB7
monochromatic
#5C551F #89802F #B7AA3E #CBC167 #DBD394
Accessibility & contrast
On white
2.38
#B7AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#B7AA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AA3E
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AA3E | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BDAB44
Tritanopia (blue-blind)
#C49E94
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b7aa3e; /* rgb */ color: rgb(183, 170, 62); /* oklch */ color: oklch(72.9% 0.128 102.4);
Tailwind
colors: {
custom: {
50: '#d0c379',
500: '#b7aa3e',
950: '#000000',
},
}SCSS
$custom: #b7aa3e; $custom-light: #d0c379; $custom-dark: #000000;
JSON
{
"hex": "#b7aa3e",
"rgb": {
"r": 183,
"g": 170,
"b": 62
},
"hsl": {
"h": 53.554,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.72884,
"c": 0.12771,
"h": 102.4
},
"luminance": 0.39165
}Semantic roles & 50–950 ramp
primary
#B7AA3E
secondary
#8A91C6
accent
#5ED94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B