#B7A42B#B7A42B
#B7A42B is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.135 H 99.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B7A42B |
|---|---|
| RGB | rgb(183, 164, 43) |
| HSL | hsl(52, 62%, 44%) |
| HSV | hsv(52, 77%, 72%) |
| CMYK | cmyk(0%, 10.4%, 76.5%, 28.2%) |
| CIE-LAB | lab(67.12, -6.01, 60.84) |
| CIE-LCH | lch(67.12, 61.13, 95.64°) |
| OKLab | oklab(71.45% -0.0232 0.1331) |
| OKLCH | oklch(71.45% 0.135 99.9) |
| XYZ | xyz(33.2416, 36.7942, 7.6361) |
| Luminance | 0.3679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.51
Brown Yellow
#B29705
ΔE00 4.41
Brownish Yellow
#C9B003
ΔE00 5.00
Ocher
#BF9B0C
ΔE00 5.30
Puke
#A5A502
ΔE00 5.45
Dark Gold
#B59410
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7A42B #2B3EB7
analogous
#B75E2B #B7A42B #84B72B
triadic
#B7A42B #2BB7A4 #A42BB7
tetradic
#B7A42B #2BB75E #2B3EB7 #B72B84
square
#B7A42B #2BB75E #2B3EB7 #B72B84
split-complementary
#B7A42B #2B84B7 #5E2BB7
monochromatic
#544B14 #85781F #B7A42B #D5C24B #E0D37C
Accessibility & contrast
On white
2.51
#B7A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#B7A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7A42B
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7A42B | 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)
#B49F11
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#C6988D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b7a42b; /* rgb */ color: rgb(183, 164, 43); /* oklch */ color: oklch(71.5% 0.135 99.9);
Tailwind
colors: {
custom: {
50: '#d1be6e',
500: '#b7a42b',
950: '#000000',
},
}SCSS
$custom: #b7a42b; $custom-light: #d1be6e; $custom-dark: #000000;
JSON
{
"hex": "#b7a42b",
"rgb": {
"r": 183,
"g": 164,
"b": 43
},
"hsl": {
"h": 51.857,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.71454,
"c": 0.13512,
"h": 99.9
},
"luminance": 0.36793
}Semantic roles & 50–950 ramp
primary
#B7A42B
secondary
#7581C9
accent
#59E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B