#B7AE2E#B7AE2E
#B7AE2E is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.142 H 105.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE2E |
|---|---|
| RGB | rgb(183, 174, 46) |
| HSL | hsl(56, 60%, 45%) |
| HSV | hsv(56, 75%, 72%) |
| CMYK | cmyk(0%, 4.9%, 74.9%, 28.2%) |
| CIE-LAB | lab(69.85, -11.12, 62.35) |
| CIE-LCH | lch(69.85, 63.34, 100.11°) |
| OKLab | oklab(73.63% -0.0373 0.1369) |
| OKLCH | oklch(73.63% 0.142 105.3) |
| XYZ | xyz(35.1591, 40.5380, 8.5568) |
| Luminance | 0.4054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.56
Olive Yellow
#C2B709
ΔE00 3.78
Puke
#A5A502
ΔE00 4.11
Vomit
#A2A415
ΔE00 4.56
Puke Yellow
#C2BE0E
ΔE00 5.09
Brownish Yellow
#C9B003
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE2E #2E37B7
analogous
#B7692E #B7AE2E #7CB72E
triadic
#B7AE2E #2EB7AE #AE2EB7
tetradic
#B7AE2E #2EB769 #2E37B7 #B72E7C
square
#B7AE2E #2EB769 #2E37B7 #B72E7C
split-complementary
#B7AE2E #2E7CB7 #692EB7
monochromatic
#555115 #867F22 #B7AE2E #D3CA4F #DFD980
Accessibility & contrast
On white
2.31
#B7AE2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#B7AE2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE2E
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE2E | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA813
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae2e; /* rgb */ color: rgb(183, 174, 46); /* oklch */ color: oklch(73.6% 0.142 105.3);
Tailwind
colors: {
custom: {
50: '#d0c571',
500: '#b7ae2e',
950: '#000000',
},
}SCSS
$custom: #b7ae2e; $custom-light: #d0c571; $custom-dark: #000000;
JSON
{
"hex": "#b7ae2e",
"rgb": {
"r": 183,
"g": 174,
"b": 46
},
"hsl": {
"h": 56.058,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.73629,
"c": 0.14191,
"h": 105.3
},
"luminance": 0.40537
}Semantic roles & 50–950 ramp
primary
#B7AE2E
secondary
#797EC8
accent
#4FE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B