#B7AE47#B7AE47
#B7AE47 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.124 H 104.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE47 |
|---|---|
| RGB | rgb(183, 174, 71) |
| HSL | hsl(55, 44%, 50%) |
| HSV | hsv(55, 61%, 72%) |
| CMYK | cmyk(0%, 4.9%, 61.2%, 28.2%) |
| CIE-LAB | lab(70.03, -9.73, 52.58) |
| CIE-LCH | lch(70.03, 53.47, 100.48°) |
| OKLab | oklab(73.83% -0.0307 0.1204) |
| OKLCH | oklch(73.83% 0.124 104.3) |
| XYZ | xyz(35.8031, 40.7956, 11.9484) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.08
Vomit
#A2A415
ΔE00 5.65
Muddy Yellow
#BFAC05
ΔE00 5.68
Puke
#A5A502
ΔE00 5.72
Olive Yellow
#C2B709
ΔE00 6.01
Khaki (survey)
#AAA662
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE47 #4750B7
analogous
#B77647 #B7AE47 #88B747
triadic
#B7AE47 #47B7AE #AE47B7
tetradic
#B7AE47 #47B776 #4750B7 #B74788
square
#B7AE47 #47B776 #4750B7 #B74788
split-complementary
#B7AE47 #4788B7 #7647B7
monochromatic
#5F5A25 #8B8436 #B7AE47 #C9C273 #DAD59F
Accessibility & contrast
On white
2.29
#B7AE47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#B7AE47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE47
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE47 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#C4A398
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae47; /* rgb */ color: rgb(183, 174, 71); /* oklch */ color: oklch(73.8% 0.124 104.3);
Tailwind
colors: {
custom: {
50: '#cfc57e',
500: '#b7ae47',
950: '#000000',
},
}SCSS
$custom: #b7ae47; $custom-light: #cfc57e; $custom-dark: #000000;
JSON
{
"hex": "#b7ae47",
"rgb": {
"r": 183,
"g": 174,
"b": 71
},
"hsl": {
"h": 55.179,
"s": 44.094,
"l": 49.804
},
"oklch": {
"l": 0.73831,
"c": 0.12428,
"h": 104.3
},
"luminance": 0.40794
}Semantic roles & 50–950 ramp
primary
#B7AE47
secondary
#9498C6
accent
#5ED454
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C