#B7A366#B7A366
#B7A366 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.083 H 91.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A366 |
|---|---|
| RGB | rgb(183, 163, 102) |
| HSL | hsl(45, 36%, 56%) |
| HSV | hsv(45, 44%, 72%) |
| CMYK | cmyk(0%, 10.9%, 44.3%, 28.2%) |
| CIE-LAB | lab(67.44, -1.20, 34.29) |
| CIE-LCH | lch(67.44, 34.31, 92.01°) |
| OKLab | oklab(71.9% -0.0028 0.0834) |
| OKLCH | oklch(71.9% 0.083 91.9) |
| XYZ | xyz(35.0249, 37.2223, 17.9075) |
| Luminance | 0.3722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.53
Sandstone
#C9AE74
ΔE00 4.40
Sand
#C2B280
ΔE00 5.02
Desert
#CCAD60
ΔE00 5.25
Khaki (survey)
#AAA662
ΔE00 5.43
Toupe
#C7AC7D
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A366 #667AB7
analogous
#B77A66 #B7A366 #A2B766
triadic
#B7A366 #66B7A3 #A366B7
tetradic
#B7A366 #66B77A #667AB7 #B766A2
square
#B7A366 #66B77A #667AB7 #B766A2
split-complementary
#B7A366 #66A2B7 #7A66B7
monochromatic
#6F6034 #988448 #B7A366 #CBBC90 #DED5B9
Accessibility & contrast
On white
2.49
#B7A366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#B7A366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A366
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A366 | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA161
Deuteranopia (green-blind)
#B4A768
Tritanopia (blue-blind)
#C39A94
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b7a366; /* rgb */ color: rgb(183, 163, 102); /* oklch */ color: oklch(71.9% 0.083 91.9);
Tailwind
colors: {
custom: {
50: '#cebe92',
500: '#b7a366',
950: '#000000',
},
}SCSS
$custom: #b7a366; $custom-light: #cebe92; $custom-dark: #000000;
JSON
{
"hex": "#b7a366",
"rgb": {
"r": 183,
"g": 163,
"b": 102
},
"hsl": {
"h": 45.185,
"s": 36,
"l": 55.882
},
"oklch": {
"l": 0.71898,
"c": 0.08344,
"h": 91.9
},
"luminance": 0.37221
}Semantic roles & 50–950 ramp
primary
#B7A366
secondary
#ACB4CD
accent
#77CC5C
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#14120D
muted
#82817E