#B7A92E#B7A92E
#B7A92E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.138 H 102.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A92E |
|---|---|
| RGB | rgb(183, 169, 46) |
| HSL | hsl(54, 60%, 45%) |
| HSV | hsv(54, 75%, 72%) |
| CMYK | cmyk(0%, 7.7%, 74.9%, 28.2%) |
| CIE-LAB | lab(68.49, -8.52, 61.08) |
| CIE-LCH | lch(68.49, 61.67, 97.94°) |
| OKLab | oklab(72.55% -0.03 0.1342) |
| OKLCH | oklch(72.55% 0.138 102.6) |
| XYZ | xyz(34.2111, 38.6420, 8.2408) |
| Luminance | 0.3864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.12
Puke
#A5A502
ΔE00 4.48
Brownish Yellow
#C9B003
ΔE00 4.84
Olive Yellow
#C2B709
ΔE00 4.86
Vomit
#A2A415
ΔE00 4.91
Mustard (survey)
#CEB301
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A92E #2E3CB7
analogous
#B7652E #B7A92E #80B72E
triadic
#B7A92E #2EB7A9 #A92EB7
tetradic
#B7A92E #2EB765 #2E3CB7 #B72E80
square
#B7A92E #2EB765 #2E3CB7 #B72E80
split-complementary
#B7A92E #2E80B7 #652EB7
monochromatic
#554F15 #867C22 #B7A92E #D3C54F #DFD580
Accessibility & contrast
On white
2.41
#B7A92E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#B7A92E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A92E
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A92E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A92E | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C59D91
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b7a92e; /* rgb */ color: rgb(183, 169, 46); /* oklch */ color: oklch(72.5% 0.138 102.6);
Tailwind
colors: {
custom: {
50: '#d0c270',
500: '#b7a92e',
950: '#000000',
},
}SCSS
$custom: #b7a92e; $custom-light: #d0c270; $custom-dark: #000000;
JSON
{
"hex": "#b7a92e",
"rgb": {
"r": 183,
"g": 169,
"b": 46
},
"hsl": {
"h": 53.869,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.72547,
"c": 0.13751,
"h": 102.6
},
"luminance": 0.3864
}Semantic roles & 50–950 ramp
primary
#B7A92E
secondary
#7981C8
accent
#55E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B