#B7A442#B7A442
#B7A442 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.119 H 98.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A442 |
|---|---|
| RGB | rgb(183, 164, 66) |
| HSL | hsl(50, 47%, 49%) |
| HSV | hsv(50, 64%, 72%) |
| CMYK | cmyk(0%, 10.4%, 63.9%, 28.2%) |
| CIE-LAB | lab(67.29, -4.80, 51.83) |
| CIE-LCH | lch(67.29, 52.05, 95.29°) |
| OKLab | oklab(71.64% -0.0172 0.1181) |
| OKLCH | oklch(71.64% 0.119 98.3) |
| XYZ | xyz(33.7887, 37.0131, 10.5177) |
| Luminance | 0.3701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.64
Muddy Yellow
#BFAC05
ΔE00 5.69
Ocher
#BF9B0C
ΔE00 6.24
Desert
#CCAD60
ΔE00 6.24
Sandy Brown
#C4A661
ΔE00 6.39
Dark Gold
#B59410
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A442 #4255B7
analogous
#B76A42 #B7A442 #90B742
triadic
#B7A442 #42B7A4 #A442B7
tetradic
#B7A442 #42B76A #4255B7 #B74290
square
#B7A442 #42B76A #4255B7 #B74290
split-complementary
#B7A442 #4290B7 #6A42B7
monochromatic
#5D5322 #8A7C32 #B7A442 #CABB6C #DAD099
Accessibility & contrast
On white
2.50
#B7A442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#B7A442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A442
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A442 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A037
Deuteranopia (green-blind)
#B8A747
Tritanopia (blue-blind)
#C5998F
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b7a442; /* rgb */ color: rgb(183, 164, 66); /* oklch */ color: oklch(71.6% 0.119 98.3);
Tailwind
colors: {
custom: {
50: '#d0be7b',
500: '#b7a442',
950: '#000000',
},
}SCSS
$custom: #b7a442; $custom-light: #d0be7b; $custom-dark: #000000;
JSON
{
"hex": "#b7a442",
"rgb": {
"r": 183,
"g": 164,
"b": 66
},
"hsl": {
"h": 50.256,
"s": 46.988,
"l": 48.824
},
"oklch": {
"l": 0.71637,
"c": 0.11936,
"h": 98.3
},
"luminance": 0.37012
}Semantic roles & 50–950 ramp
primary
#B7A442
secondary
#8F98C6
accent
#67D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C