#B4A73E#B4A73E
#B4A73E is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.125 H 102.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A73E |
|---|---|
| RGB | rgb(180, 167, 62) |
| HSL | hsl(53, 49%, 47%) |
| HSV | hsv(53, 66%, 71%) |
| CMYK | cmyk(0%, 7.2%, 65.6%, 29.4%) |
| CIE-LAB | lab(67.79, -7.94, 54.03) |
| CIE-LCH | lch(67.79, 54.61, 98.36°) |
| OKLab | oklab(71.96% -0.0265 0.1223) |
| OKLCH | oklch(71.96% 0.125 102.2) |
| XYZ | xyz(33.5120, 37.6899, 10.0661) |
| Luminance | 0.3769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 5.07
Vomit
#A2A415
ΔE00 5.20
Puke
#A5A502
ΔE00 5.20
Khaki (survey)
#AAA662
ΔE00 6.51
Brown Yellow
#B29705
ΔE00 6.53
Brownish Yellow
#C9B003
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A73E #3E4BB4
analogous
#B46C3E #B4A73E #86B43E
triadic
#B4A73E #3EB4A7 #A73EB4
tetradic
#B4A73E #3EB46C #3E4BB4 #B43E86
square
#B4A73E #3EB46C #3E4BB4 #B43E86
split-complementary
#B4A73E #3E86B4 #6C3EB4
monochromatic
#59531F #867D2E #B4A73E #CABF65 #DAD293
Accessibility & contrast
On white
2.46
#B4A73E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#B4A73E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A73E
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A73E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A73E | 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)
#B6A231
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#C19C91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b4a73e; /* rgb */ color: rgb(180, 167, 62); /* oklch */ color: oklch(72.0% 0.125 102.2);
Tailwind
colors: {
custom: {
50: '#cdc079',
500: '#b4a73e',
950: '#000000',
},
}SCSS
$custom: #b4a73e; $custom-light: #cdc079; $custom-dark: #000000;
JSON
{
"hex": "#b4a73e",
"rgb": {
"r": 180,
"g": 167,
"b": 62
},
"hsl": {
"h": 53.39,
"s": 48.76,
"l": 47.451
},
"oklch": {
"l": 0.71962,
"c": 0.12509,
"h": 102.2
},
"luminance": 0.37689
}Semantic roles & 50–950 ramp
primary
#B4A73E
secondary
#898FC5
accent
#5FD84F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B