#B7AA2E#B7AA2E
#B7AA2E is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.138 H 103.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AA2E |
|---|---|
| RGB | rgb(183, 170, 46) |
| HSL | hsl(54, 60%, 45%) |
| HSV | hsv(54, 75%, 72%) |
| CMYK | cmyk(0%, 7.1%, 74.9%, 28.2%) |
| CIE-LAB | lab(68.76, -9.04, 61.33) |
| CIE-LCH | lch(68.76, 61.99, 98.39°) |
| OKLab | oklab(72.76% -0.0315 0.1347) |
| OKLCH | oklch(72.76% 0.138 103.2) |
| XYZ | xyz(34.3978, 39.0154, 8.3031) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.12
Puke
#A5A502
ΔE00 4.34
Olive Yellow
#C2B709
ΔE00 4.60
Vomit
#A2A415
ΔE00 4.78
Brownish Yellow
#C9B003
ΔE00 4.86
Mustard (survey)
#CEB301
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AA2E #2E3BB7
analogous
#B7662E #B7AA2E #7FB72E
triadic
#B7AA2E #2EB7AA #AA2EB7
tetradic
#B7AA2E #2EB766 #2E3BB7 #B72E7F
square
#B7AA2E #2EB766 #2E3BB7 #B72E7F
split-complementary
#B7AA2E #2E7FB7 #662EB7
monochromatic
#554F15 #867D22 #B7AA2E #D3C64F #DFD680
Accessibility & contrast
On white
2.39
#B7AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#B7AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AA2E
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AA2E | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA415
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#C59E92
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b7aa2e; /* rgb */ color: rgb(183, 170, 46); /* oklch */ color: oklch(72.8% 0.138 103.2);
Tailwind
colors: {
custom: {
50: '#d0c270',
500: '#b7aa2e',
950: '#000000',
},
}SCSS
$custom: #b7aa2e; $custom-light: #d0c270; $custom-dark: #000000;
JSON
{
"hex": "#b7aa2e",
"rgb": {
"r": 183,
"g": 170,
"b": 46
},
"hsl": {
"h": 54.307,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.72762,
"c": 0.13837,
"h": 103.2
},
"luminance": 0.39014
}Semantic roles & 50–950 ramp
primary
#B7AA2E
secondary
#7980C8
accent
#54E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B