#B7AE3A#B7AE3A
#B7AE3A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.134 H 104.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE3A |
|---|---|
| RGB | rgb(183, 174, 58) |
| HSL | hsl(56, 52%, 47%) |
| HSV | hsv(56, 68%, 72%) |
| CMYK | cmyk(0%, 4.9%, 68.3%, 28.2%) |
| CIE-LAB | lab(69.93, -10.53, 57.97) |
| CIE-LCH | lch(69.93, 58.92, 100.30°) |
| OKLab | oklab(73.71% -0.0345 0.1298) |
| OKLCH | oklch(73.71% 0.134 104.9) |
| XYZ | xyz(35.4296, 40.6462, 9.9814) |
| Luminance | 0.4064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.41
Puke
#A5A502
ΔE00 4.67
Olive Yellow
#C2B709
ΔE00 4.69
Vomit
#A2A415
ΔE00 4.86
Puke Yellow
#C2BE0E
ΔE00 5.81
Brownish Yellow
#C9B003
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE3A #3A43B7
analogous
#B7703A #B7AE3A #82B73A
triadic
#B7AE3A #3AB7AE #AE3AB7
tetradic
#B7AE3A #3AB770 #3A43B7 #B73A82
square
#B7AE3A #3AB770 #3A43B7 #B73A82
split-complementary
#B7AE3A #3A82B7 #703AB7
monochromatic
#5A561D #89822B #B7AE3A #CDC561 #DCD690
Accessibility & contrast
On white
2.30
#B7AE3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#B7AE3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE3A
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE3A | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C4A297
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae3a; /* rgb */ color: rgb(183, 174, 58); /* oklch */ color: oklch(73.7% 0.134 104.9);
Tailwind
colors: {
custom: {
50: '#d0c577',
500: '#b7ae3a',
950: '#000000',
},
}SCSS
$custom: #b7ae3a; $custom-light: #d0c577; $custom-dark: #000000;
JSON
{
"hex": "#b7ae3a",
"rgb": {
"r": 183,
"g": 174,
"b": 58
},
"hsl": {
"h": 55.68,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.73714,
"c": 0.13431,
"h": 104.9
},
"luminance": 0.40645
}Semantic roles & 50–950 ramp
primary
#B7AE3A
secondary
#868BC7
accent
#57DB4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B