#B7A82E#B7A82E
#B7A82E is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.137 H 102.0°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A82E |
|---|---|
| RGB | rgb(183, 168, 46) |
| HSL | hsl(53, 60%, 45%) |
| HSV | hsv(53, 75%, 72%) |
| CMYK | cmyk(0%, 8.2%, 74.9%, 28.2%) |
| CIE-LAB | lab(68.22, -7.99, 60.82) |
| CIE-LCH | lch(68.22, 61.34, 97.49°) |
| OKLab | oklab(72.33% -0.0285 0.1337) |
| OKLCH | oklch(72.33% 0.137 102) |
| XYZ | xyz(34.0258, 38.2713, 8.1791) |
| Luminance | 0.3827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.15
Puke
#A5A502
ΔE00 4.64
Brownish Yellow
#C9B003
ΔE00 4.85
Vomit
#A2A415
ΔE00 5.07
Olive Yellow
#C2B709
ΔE00 5.13
Mustard (survey)
#CEB301
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A82E #2E3DB7
analogous
#B7642E #B7A82E #81B72E
triadic
#B7A82E #2EB7A8 #A82EB7
tetradic
#B7A82E #2EB764 #2E3DB7 #B72E81
square
#B7A82E #2EB764 #2E3DB7 #B72E81
split-complementary
#B7A82E #2E81B7 #642EB7
monochromatic
#554E15 #867B22 #B7A82E #D3C44F #DFD580
Accessibility & contrast
On white
2.43
#B7A82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#B7A82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A82E
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A82E | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b7a82e; /* rgb */ color: rgb(183, 168, 46); /* oklch */ color: oklch(72.3% 0.137 102.0);
Tailwind
colors: {
custom: {
50: '#d0c170',
500: '#b7a82e',
950: '#000000',
},
}SCSS
$custom: #b7a82e; $custom-light: #d0c170; $custom-dark: #000000;
JSON
{
"hex": "#b7a82e",
"rgb": {
"r": 183,
"g": 168,
"b": 46
},
"hsl": {
"h": 53.431,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.72331,
"c": 0.13667,
"h": 102
},
"luminance": 0.3827
}Semantic roles & 50–950 ramp
primary
#B7A82E
secondary
#7981C8
accent
#56E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B