#B8A82E#B8A82E
#B8A82E is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.137 H 101.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A82E |
|---|---|
| RGB | rgb(184, 168, 46) |
| HSL | hsl(53, 60%, 45%) |
| HSV | hsv(53, 75%, 72%) |
| CMYK | cmyk(0%, 8.7%, 75%, 27.8%) |
| CIE-LAB | lab(68.31, -7.55, 60.94) |
| CIE-LCH | lch(68.31, 61.40, 97.07°) |
| OKLab | oklab(72.42% -0.0273 0.1339) |
| OKLCH | oklch(72.42% 0.137 101.5) |
| XYZ | xyz(34.2645, 38.3944, 8.1903) |
| Luminance | 0.3839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.03
Brownish Yellow
#C9B003
ΔE00 4.66
Puke
#A5A502
ΔE00 4.89
Olive Yellow
#C2B709
ΔE00 5.14
Vomit
#A2A415
ΔE00 5.34
Mustard (survey)
#CEB301
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A82E #2E3EB8
analogous
#B8632E #B8A82E #83B82E
triadic
#B8A82E #2EB8A8 #A82EB8
tetradic
#B8A82E #2EB863 #2E3EB8 #B82E83
square
#B8A82E #2EB863 #2E3EB8 #B82E83
split-complementary
#B8A82E #2E83B8 #632EB8
monochromatic
#564F16 #877B22 #B8A82E #D3C450 #DFD581
Accessibility & contrast
On white
2.42
#B8A82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#B8A82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A82E
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A82E | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#C69C91
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b8a82e; /* rgb */ color: rgb(184, 168, 46); /* oklch */ color: oklch(72.4% 0.137 101.5);
Tailwind
colors: {
custom: {
50: '#d1c170',
500: '#b8a82e',
950: '#000000',
},
}SCSS
$custom: #b8a82e; $custom-light: #d1c170; $custom-dark: #000000;
JSON
{
"hex": "#b8a82e",
"rgb": {
"r": 184,
"g": 168,
"b": 46
},
"hsl": {
"h": 53.043,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.72424,
"c": 0.13664,
"h": 101.5
},
"luminance": 0.38393
}Semantic roles & 50–950 ramp
primary
#B8A82E
secondary
#7983C8
accent
#57E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B