#B7A42E#B7A42E
#B7A42E is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.133 H 99.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A42E |
|---|---|
| RGB | rgb(183, 164, 46) |
| HSL | hsl(52, 60%, 45%) |
| HSV | hsv(52, 75%, 72%) |
| CMYK | cmyk(0%, 10.4%, 74.9%, 28.2%) |
| CIE-LAB | lab(67.14, -5.88, 59.80) |
| CIE-LCH | lch(67.14, 60.09, 95.62°) |
| OKLab | oklab(71.47% -0.0226 0.1315) |
| OKLCH | oklch(71.47% 0.133 99.7) |
| XYZ | xyz(33.2987, 36.8171, 7.9367) |
| Luminance | 0.3681 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.73
Brown Yellow
#B29705
ΔE00 4.50
Brownish Yellow
#C9B003
ΔE00 5.17
Ocher
#BF9B0C
ΔE00 5.36
Puke
#A5A502
ΔE00 5.56
Dark Gold
#B59410
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A42E #2E41B7
analogous
#B7602E #B7A42E #85B72E
triadic
#B7A42E #2EB7A4 #A42EB7
tetradic
#B7A42E #2EB760 #2E41B7 #B72E85
square
#B7A42E #2EB760 #2E41B7 #B72E85
split-complementary
#B7A42E #2E85B7 #602EB7
monochromatic
#554C15 #867822 #B7A42E #D3C14F #DFD280
Accessibility & contrast
On white
2.51
#B7A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#B7A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A42E
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A42E | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F18
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C5988D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b7a42e; /* rgb */ color: rgb(183, 164, 46); /* oklch */ color: oklch(71.5% 0.133 99.7);
Tailwind
colors: {
custom: {
50: '#d0be70',
500: '#b7a42e',
950: '#000000',
},
}SCSS
$custom: #b7a42e; $custom-light: #d0be70; $custom-dark: #000000;
JSON
{
"hex": "#b7a42e",
"rgb": {
"r": 183,
"g": 164,
"b": 46
},
"hsl": {
"h": 51.679,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.71473,
"c": 0.13341,
"h": 99.7
},
"luminance": 0.36815
}Semantic roles & 50–950 ramp
primary
#B7A42E
secondary
#7984C8
accent
#5BE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B