#B7A02E#B7A02E
#B7A02E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.6% C 0.130 H 97.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A02E |
|---|---|
| RGB | rgb(183, 160, 46) |
| HSL | hsl(50, 60%, 45%) |
| HSV | hsv(50, 75%, 72%) |
| CMYK | cmyk(0%, 12.6%, 74.9%, 28.2%) |
| CIE-LAB | lab(66.06, -3.75, 58.78) |
| CIE-LCH | lch(66.06, 58.90, 93.65°) |
| OKLab | oklab(70.62% -0.0165 0.1293) |
| OKLCH | oklch(70.62% 0.13 97.3) |
| XYZ | xyz(32.5940, 35.4079, 7.7018) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.37
Ocher
#BF9B0C
ΔE00 4.14
Dark Gold
#B59410
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 4.80
Yellow Brown
#B79400
ΔE00 4.90
Baby Shit Brown
#AD900D
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A02E #2E45B7
analogous
#B75C2E #B7A02E #8AB72E
triadic
#B7A02E #2EB7A0 #A02EB7
tetradic
#B7A02E #2EB75C #2E45B7 #B72E8A
square
#B7A02E #2EB75C #2E45B7 #B72E8A
split-complementary
#B7A02E #2E8AB7 #5C2EB7
monochromatic
#554A15 #867522 #B7A02E #D3BD4F #DFCF80
Accessibility & contrast
On white
2.60
#B7A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#B7A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A02E
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A02E | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#C6948A
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b7a02e; /* rgb */ color: rgb(183, 160, 46); /* oklch */ color: oklch(70.6% 0.130 97.3);
Tailwind
colors: {
custom: {
50: '#d0bb6f',
500: '#b7a02e',
950: '#000000',
},
}SCSS
$custom: #b7a02e; $custom-light: #d0bb6f; $custom-dark: #000000;
JSON
{
"hex": "#b7a02e",
"rgb": {
"r": 183,
"g": 160,
"b": 46
},
"hsl": {
"h": 49.927,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.70622,
"c": 0.13037,
"h": 97.3
},
"luminance": 0.35406
}Semantic roles & 50–950 ramp
primary
#B7A02E
secondary
#7986C8
accent
#5FE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B