#B7AE39#B7AE39
#B7AE39 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.135 H 104.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE39 |
|---|---|
| RGB | rgb(183, 174, 57) |
| HSL | hsl(56, 53%, 47%) |
| HSV | hsv(56, 69%, 72%) |
| CMYK | cmyk(0%, 4.9%, 68.9%, 28.2%) |
| CIE-LAB | lab(69.92, -10.59, 58.36) |
| CIE-LCH | lch(69.92, 59.31, 100.28°) |
| OKLab | oklab(73.71% -0.0347 0.1305) |
| OKLCH | oklch(73.71% 0.135 104.9) |
| XYZ | xyz(35.4044, 40.6361, 9.8487) |
| Luminance | 0.4063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.33
Olive Yellow
#C2B709
ΔE00 4.61
Puke
#A5A502
ΔE00 4.61
Vomit
#A2A415
ΔE00 4.82
Puke Yellow
#C2BE0E
ΔE00 5.74
Brownish Yellow
#C9B003
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE39 #3942B7
analogous
#B76F39 #B7AE39 #81B739
triadic
#B7AE39 #39B7AE #AE39B7
tetradic
#B7AE39 #39B76F #3942B7 #B73981
square
#B7AE39 #39B76F #3942B7 #B73981
split-complementary
#B7AE39 #3981B7 #6F39B7
monochromatic
#5A551C #88822A #B7AE39 #CDC660 #DCD68E
Accessibility & contrast
On white
2.30
#B7AE39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#B7AE39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE39
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE39 | 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)
#BDA828
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C4A297
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae39; /* rgb */ color: rgb(183, 174, 57); /* oklch */ color: oklch(73.7% 0.135 104.9);
Tailwind
colors: {
custom: {
50: '#d0c576',
500: '#b7ae39',
950: '#000000',
},
}SCSS
$custom: #b7ae39; $custom-light: #d0c576; $custom-dark: #000000;
JSON
{
"hex": "#b7ae39",
"rgb": {
"r": 183,
"g": 174,
"b": 57
},
"hsl": {
"h": 55.714,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.73706,
"c": 0.135,
"h": 104.9
},
"luminance": 0.40635
}Semantic roles & 50–950 ramp
primary
#B7AE39
secondary
#858AC7
accent
#56DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B