#B7AE46#B7AE46
#B7AE46 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.125 H 104.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE46 |
|---|---|
| RGB | rgb(183, 174, 70) |
| HSL | hsl(55, 45%, 50%) |
| HSV | hsv(55, 62%, 72%) |
| CMYK | cmyk(0%, 4.9%, 61.7%, 28.2%) |
| CIE-LAB | lab(70.02, -9.80, 53.01) |
| CIE-LCH | lch(70.02, 53.91, 100.47°) |
| OKLab | oklab(73.82% -0.031 0.1212) |
| OKLCH | oklch(73.82% 0.125 104.4) |
| XYZ | xyz(35.7713, 40.7829, 11.7808) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.19
Muddy Yellow
#BFAC05
ΔE00 5.57
Vomit
#A2A415
ΔE00 5.57
Puke
#A5A502
ΔE00 5.62
Olive Yellow
#C2B709
ΔE00 5.90
Khaki (survey)
#AAA662
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE46 #464FB7
analogous
#B77546 #B7AE46 #88B746
triadic
#B7AE46 #46B7AE #AE46B7
tetradic
#B7AE46 #46B775 #464FB7 #B74688
square
#B7AE46 #46B775 #464FB7 #B74688
split-complementary
#B7AE46 #4688B7 #7546B7
monochromatic
#5E5A24 #8B8435 #B7AE46 #C9C271 #DAD59E
Accessibility & contrast
On white
2.29
#B7AE46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#B7AE46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE46
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE46 | 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)
#BCA83A
Deuteranopia (green-blind)
#C0AD4C
Tritanopia (blue-blind)
#C4A398
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae46; /* rgb */ color: rgb(183, 174, 70); /* oklch */ color: oklch(73.8% 0.125 104.4);
Tailwind
colors: {
custom: {
50: '#cfc57e',
500: '#b7ae46',
950: '#000000',
},
}SCSS
$custom: #b7ae46; $custom-light: #cfc57e; $custom-dark: #000000;
JSON
{
"hex": "#b7ae46",
"rgb": {
"r": 183,
"g": 174,
"b": 70
},
"hsl": {
"h": 55.221,
"s": 44.664,
"l": 49.608
},
"oklch": {
"l": 0.73821,
"c": 0.12512,
"h": 104.4
},
"luminance": 0.40782
}Semantic roles & 50–950 ramp
primary
#B7AE46
secondary
#9397C6
accent
#5ED453
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C