#B7A73E#B7A73E
#B7A73E is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.125 H 100.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A73E |
|---|---|
| RGB | rgb(183, 167, 62) |
| HSL | hsl(52, 49%, 48%) |
| HSV | hsv(52, 66%, 72%) |
| CMYK | cmyk(0%, 8.7%, 66.1%, 28.2%) |
| CIE-LAB | lab(68.06, -6.64, 54.40) |
| CIE-LCH | lch(68.06, 54.80, 96.95°) |
| OKLab | oklab(72.24% -0.023 0.1229) |
| OKLCH | oklch(72.24% 0.125 100.6) |
| XYZ | xyz(34.2181, 38.0540, 10.0992) |
| Luminance | 0.3805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.75
Puke
#A5A502
ΔE00 5.80
Vomit
#A2A415
ΔE00 5.91
Brownish Yellow
#C9B003
ΔE00 6.06
Brown Yellow
#B29705
ΔE00 6.10
Olive Yellow
#C2B709
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A73E #3E4EB7
analogous
#B76A3E #B7A73E #8AB73E
triadic
#B7A73E #3EB7A7 #A73EB7
tetradic
#B7A73E #3EB76A #3E4EB7 #B73E8A
square
#B7A73E #3EB76A #3E4EB7 #B73E8A
split-complementary
#B7A73E #3E8AB7 #6A3EB7
monochromatic
#5C541F #897D2F #B7A73E #CBBE67 #DBD294
Accessibility & contrast
On white
2.44
#B7A73E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#B7A73E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A73E
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A73E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A73E | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A231
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#C59B91
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b7a73e; /* rgb */ color: rgb(183, 167, 62); /* oklch */ color: oklch(72.2% 0.125 100.6);
Tailwind
colors: {
custom: {
50: '#d0c079',
500: '#b7a73e',
950: '#000000',
},
}SCSS
$custom: #b7a73e; $custom-light: #d0c079; $custom-dark: #000000;
JSON
{
"hex": "#b7a73e",
"rgb": {
"r": 183,
"g": 167,
"b": 62
},
"hsl": {
"h": 52.066,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.7224,
"c": 0.12506,
"h": 100.6
},
"luminance": 0.38053
}Semantic roles & 50–950 ramp
primary
#B7A73E
secondary
#8A92C6
accent
#61D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B