#B7A63E#B7A63E
#B7A63E is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.124 H 99.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A63E |
|---|---|
| RGB | rgb(183, 166, 62) |
| HSL | hsl(52, 49%, 48%) |
| HSV | hsv(52, 66%, 72%) |
| CMYK | cmyk(0%, 9.3%, 66.1%, 28.2%) |
| CIE-LAB | lab(67.79, -6.11, 54.12) |
| CIE-LCH | lch(67.79, 54.46, 96.44°) |
| OKLab | oklab(72.03% -0.0215 0.1223) |
| OKLCH | oklch(72.03% 0.124 99.9) |
| XYZ | xyz(34.0356, 37.6890, 10.0384) |
| Luminance | 0.3769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.88
Brown Yellow
#B29705
ΔE00 5.83
Puke
#A5A502
ΔE00 6.02
Vomit
#A2A415
ΔE00 6.13
Brownish Yellow
#C9B003
ΔE00 6.15
Ocher
#BF9B0C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A63E #3E4FB7
analogous
#B7693E #B7A63E #8BB73E
triadic
#B7A63E #3EB7A6 #A63EB7
tetradic
#B7A63E #3EB769 #3E4FB7 #B73E8B
square
#B7A63E #3EB769 #3E4FB7 #B73E8B
split-complementary
#B7A63E #3E8BB7 #693EB7
monochromatic
#5C531F #897D2F #B7A63E #CBBD67 #DBD194
Accessibility & contrast
On white
2.46
#B7A63E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#B7A63E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A63E
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A63E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A63E | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A131
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#C59A90
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b7a63e; /* rgb */ color: rgb(183, 166, 62); /* oklch */ color: oklch(72.0% 0.124 99.9);
Tailwind
colors: {
custom: {
50: '#d0c078',
500: '#b7a63e',
950: '#000000',
},
}SCSS
$custom: #b7a63e; $custom-light: #d0c078; $custom-dark: #000000;
JSON
{
"hex": "#b7a63e",
"rgb": {
"r": 183,
"g": 166,
"b": 62
},
"hsl": {
"h": 51.57,
"s": 49.388,
"l": 48.039
},
"oklch": {
"l": 0.72026,
"c": 0.1242,
"h": 99.9
},
"luminance": 0.37688
}Semantic roles & 50–950 ramp
primary
#B7A63E
secondary
#8A93C6
accent
#62D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B