#B4A646#B4A646
#B4A646 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.118 H 101.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A646 |
|---|---|
| RGB | rgb(180, 166, 70) |
| HSL | hsl(52, 44%, 49%) |
| HSV | hsv(52, 61%, 71%) |
| CMYK | cmyk(0%, 7.8%, 61.1%, 29.4%) |
| CIE-LAB | lab(67.59, -6.89, 50.28) |
| CIE-LCH | lch(67.59, 50.75, 97.80°) |
| OKLab | oklab(71.83% -0.0226 0.1155) |
| OKLCH | oklch(71.83% 0.118 101.1) |
| XYZ | xyz(33.5654, 37.4193, 11.2478) |
| Luminance | 0.3742 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.61
Muddy Yellow
#BFAC05
ΔE00 6.06
Vomit
#A2A415
ΔE00 6.08
Darkkhaki
#BDB76B
ΔE00 6.18
Puke
#A5A502
ΔE00 6.21
Brown Yellow
#B29705
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A646 #4654B4
analogous
#B46F46 #B4A646 #8BB446
triadic
#B4A646 #46B4A6 #A646B4
tetradic
#B4A646 #46B46F #4654B4 #B4468B
square
#B4A646 #46B46F #4654B4 #B4468B
split-complementary
#B4A646 #468BB4 #6F46B4
monochromatic
#5C5524 #887D35 #B4A646 #C7BC70 #D8D19C
Accessibility & contrast
On white
2.48
#B4A646 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B4A646 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A646
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A646 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A646 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#B8A74B
Tritanopia (blue-blind)
#C19B91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b4a646; /* rgb */ color: rgb(180, 166, 70); /* oklch */ color: oklch(71.8% 0.118 101.1);
Tailwind
colors: {
custom: {
50: '#cdc07d',
500: '#b4a646',
950: '#000000',
},
}SCSS
$custom: #b4a646; $custom-light: #cdc07d; $custom-dark: #000000;
JSON
{
"hex": "#b4a646",
"rgb": {
"r": 180,
"g": 166,
"b": 70
},
"hsl": {
"h": 52.364,
"s": 44,
"l": 49.02
},
"oklch": {
"l": 0.71825,
"c": 0.11765,
"h": 101.1
},
"luminance": 0.37418
}Semantic roles & 50–950 ramp
primary
#B4A646
secondary
#9198C5
accent
#64D454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C