#B7AC47#B7AC47
#B7AC47 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.122 H 103.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AC47 |
|---|---|
| RGB | rgb(183, 172, 71) |
| HSL | hsl(54, 44%, 50%) |
| HSV | hsv(54, 61%, 72%) |
| CMYK | cmyk(0%, 6%, 61.2%, 28.2%) |
| CIE-LAB | lab(69.49, -8.68, 51.99) |
| CIE-LCH | lch(69.49, 52.71, 99.48°) |
| OKLab | oklab(73.4% -0.0278 0.1192) |
| OKLCH | oklch(73.4% 0.122 103.1) |
| XYZ | xyz(35.4196, 40.0286, 11.8206) |
| Luminance | 0.4003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.27
Muddy Yellow
#BFAC05
ΔE00 5.58
Vomit
#A2A415
ΔE00 5.79
Puke
#A5A502
ΔE00 5.85
Khaki (survey)
#AAA662
ΔE00 6.05
Olive Yellow
#C2B709
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AC47 #4752B7
analogous
#B77447 #B7AC47 #8AB747
triadic
#B7AC47 #47B7AC #AC47B7
tetradic
#B7AC47 #47B774 #4752B7 #B7478A
square
#B7AC47 #47B774 #4752B7 #B7478A
split-complementary
#B7AC47 #478AB7 #7447B7
monochromatic
#5F5925 #8B8336 #B7AC47 #C9C073 #DAD49F
Accessibility & contrast
On white
2.33
#B7AC47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#B7AC47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AC47
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AC47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AC47 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA73C
Deuteranopia (green-blind)
#BEAC4C
Tritanopia (blue-blind)
#C4A196
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b7ac47; /* rgb */ color: rgb(183, 172, 71); /* oklch */ color: oklch(73.4% 0.122 103.1);
Tailwind
colors: {
custom: {
50: '#cfc47e',
500: '#b7ac47',
950: '#000000',
},
}SCSS
$custom: #b7ac47; $custom-light: #cfc47e; $custom-dark: #000000;
JSON
{
"hex": "#b7ac47",
"rgb": {
"r": 183,
"g": 172,
"b": 71
},
"hsl": {
"h": 54.107,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.734,
"c": 0.12235,
"h": 103.1
},
"luminance": 0.40027
}Semantic roles & 50–950 ramp
primary
#B7AC47
secondary
#9499C6
accent
#61D454
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C