#B7AE2A#B7AE2A
#B7AE2A is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.144 H 105.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B7AE2A |
|---|---|
| RGB | rgb(183, 174, 42) |
| HSL | hsl(56, 63%, 44%) |
| HSV | hsv(56, 77%, 72%) |
| CMYK | cmyk(0%, 4.9%, 77%, 28.2%) |
| CIE-LAB | lab(69.83, -11.29, 63.66) |
| CIE-LCH | lch(69.83, 64.65, 100.05°) |
| OKLab | oklab(73.61% -0.0382 0.1389) |
| OKLCH | oklch(73.61% 0.144 105.4) |
| XYZ | xyz(35.0839, 40.5079, 8.1608) |
| Luminance | 0.4051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.35
Olive Yellow
#C2B709
ΔE00 3.55
Puke
#A5A502
ΔE00 4.00
Vomit
#A2A415
ΔE00 4.52
Puke Yellow
#C2BE0E
ΔE00 4.92
Brownish Yellow
#C9B003
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7AE2A #2A33B7
analogous
#B7682A #B7AE2A #7AB72A
triadic
#B7AE2A #2AB7AE #AE2AB7
tetradic
#B7AE2A #2AB768 #2A33B7 #B72A7A
square
#B7AE2A #2AB768 #2A33B7 #B72A7A
split-complementary
#B7AE2A #2A7AB7 #682AB7
monochromatic
#534F13 #857F1F #B7AE2A #D5CC49 #E1DA7B
Accessibility & contrast
On white
2.31
#B7AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#B7AE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7AE2A
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7AE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7AE2A | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA807
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#C5A295
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b7ae2a; /* rgb */ color: rgb(183, 174, 42); /* oklch */ color: oklch(73.6% 0.144 105.4);
Tailwind
colors: {
custom: {
50: '#d0c56f',
500: '#b7ae2a',
950: '#000000',
},
}SCSS
$custom: #b7ae2a; $custom-light: #d0c56f; $custom-dark: #000000;
JSON
{
"hex": "#b7ae2a",
"rgb": {
"r": 183,
"g": 174,
"b": 42
},
"hsl": {
"h": 56.17,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.73605,
"c": 0.14409,
"h": 105.4
},
"luminance": 0.40507
}Semantic roles & 50–950 ramp
primary
#B7AE2A
secondary
#7479C9
accent
#4DE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B