#B7962F#B7962F
#B7962F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.5% C 0.123 H 90.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B7962F |
|---|---|
| RGB | rgb(183, 150, 47) |
| HSL | hsl(45, 59%, 45%) |
| HSV | hsv(45, 74%, 72%) |
| CMYK | cmyk(0%, 18%, 74.3%, 28.2%) |
| CIE-LAB | lab(63.41, 1.68, 55.85) |
| CIE-LCH | lch(63.41, 55.88, 88.28°) |
| OKLab | oklab(68.53% -0.0009 0.1233) |
| OKLCH | oklch(68.53% 0.123 90.4) |
| XYZ | xyz(30.9496, 32.0871, 7.2521) |
| Luminance | 0.3209 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.45
Yellow Brown
#B79400
ΔE00 2.99
Baby Shit Brown
#AD900D
ΔE00 3.40
Ocher
#BF9B0C
ΔE00 3.50
Brown Yellow
#B29705
ΔE00 3.72
Yellowy Brown
#AE8B0C
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7962F #2F50B7
analogous
#B7522F #B7962F #94B72F
triadic
#B7962F #2FB796 #962FB7
tetradic
#B7962F #2FB752 #2F50B7 #B72F94
square
#B7962F #2FB752 #2F50B7 #B72F94
split-complementary
#B7962F #2F94B7 #522FB7
monochromatic
#564616 #866E22 #B7962F #D2B351 #DFC882
Accessibility & contrast
On white
2.83
#B7962F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#B7962F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7962F
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7962F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7962F | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7941F
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#C68982
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b7962f; /* rgb */ color: rgb(183, 150, 47); /* oklch */ color: oklch(68.5% 0.123 90.4);
Tailwind
colors: {
custom: {
50: '#d1b46f',
500: '#b7962f',
950: '#000000',
},
}SCSS
$custom: #b7962f; $custom-light: #d1b46f; $custom-dark: #000000;
JSON
{
"hex": "#b7962f",
"rgb": {
"r": 183,
"g": 150,
"b": 47
},
"hsl": {
"h": 45.441,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.68529,
"c": 0.1233,
"h": 90.4
},
"luminance": 0.32085
}Semantic roles & 50–950 ramp
primary
#B7962F
secondary
#7A8DC8
accent
#6CE245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B