#B7AE45#B7AE45
#B7AE45 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.126 H 104.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE45 |
|---|---|
| RGB | rgb(183, 174, 69) |
| HSL | hsl(55, 45%, 49%) |
| HSV | hsv(55, 62%, 72%) |
| CMYK | cmyk(0%, 4.9%, 62.3%, 28.2%) |
| CIE-LAB | lab(70.01, -9.86, 53.45) |
| CIE-LCH | lch(70.01, 54.35, 100.46°) |
| OKLab | oklab(73.81% -0.0314 0.122) |
| OKLCH | oklch(73.81% 0.126 104.4) |
| XYZ | xyz(35.7400, 40.7703, 11.6159) |
| Luminance | 0.4077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.30
Muddy Yellow
#BFAC05
ΔE00 5.46
Vomit
#A2A415
ΔE00 5.50
Puke
#A5A502
ΔE00 5.53
Olive Yellow
#C2B709
ΔE00 5.79
Khaki (survey)
#AAA662
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE45 #454EB7
analogous
#B77545 #B7AE45 #87B745
triadic
#B7AE45 #45B7AE #AE45B7
tetradic
#B7AE45 #45B775 #454EB7 #B74587
square
#B7AE45 #45B775 #454EB7 #B74587
split-complementary
#B7AE45 #4587B7 #7545B7
monochromatic
#5E5923 #8B8434 #B7AE45 #C9C270 #DAD59D
Accessibility & contrast
On white
2.29
#B7AE45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#B7AE45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE45
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE45 | 1.00 | 2.29 | 9.15 | 9.15 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C0AD4B
Tritanopia (blue-blind)
#C4A398
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae45; /* rgb */ color: rgb(183, 174, 69); /* oklch */ color: oklch(73.8% 0.126 104.4);
Tailwind
colors: {
custom: {
50: '#cfc57d',
500: '#b7ae45',
950: '#000000',
},
}SCSS
$custom: #b7ae45; $custom-light: #cfc57d; $custom-dark: #000000;
JSON
{
"hex": "#b7ae45",
"rgb": {
"r": 183,
"g": 174,
"b": 69
},
"hsl": {
"h": 55.263,
"s": 45.238,
"l": 49.412
},
"oklch": {
"l": 0.73811,
"c": 0.12594,
"h": 104.4
},
"luminance": 0.40769
}Semantic roles & 50–950 ramp
primary
#B7AE45
secondary
#9296C6
accent
#5DD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C