#B7952F#B7952F
#B7952F is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.3% C 0.123 H 89.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B7952F |
|---|---|
| RGB | rgb(183, 149, 47) |
| HSL | hsl(45, 59%, 45%) |
| HSV | hsv(45, 74%, 72%) |
| CMYK | cmyk(0%, 18.6%, 74.3%, 28.2%) |
| CIE-LAB | lab(63.15, 2.23, 55.60) |
| CIE-LCH | lch(63.15, 55.64, 87.71°) |
| OKLab | oklab(68.32% 0.0006 0.1228) |
| OKLCH | oklch(68.32% 0.123 89.7) |
| XYZ | xyz(30.7907, 31.7694, 7.1991) |
| Luminance | 0.3177 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.58
Yellow Brown
#B79400
ΔE00 3.08
Baby Shit Brown
#AD900D
ΔE00 3.49
Yellowy Brown
#AE8B0C
ΔE00 3.70
Ocher
#BF9B0C
ΔE00 3.72
Brown Yellow
#B29705
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7952F #2F51B7
analogous
#B7512F #B7952F #95B72F
triadic
#B7952F #2FB795 #952FB7
tetradic
#B7952F #2FB751 #2F51B7 #B72F95
square
#B7952F #2FB751 #2F51B7 #B72F95
split-complementary
#B7952F #2F95B7 #512FB7
monochromatic
#564616 #866D22 #B7952F #D2B251 #DFC782
Accessibility & contrast
On white
2.86
#B7952F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#B7952F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7952F
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7952F | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#C68881
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b7952f; /* rgb */ color: rgb(183, 149, 47); /* oklch */ color: oklch(68.3% 0.123 89.7);
Tailwind
colors: {
custom: {
50: '#d1b36e',
500: '#b7952f',
950: '#000000',
},
}SCSS
$custom: #b7952f; $custom-light: #d1b36e; $custom-dark: #000000;
JSON
{
"hex": "#b7952f",
"rgb": {
"r": 183,
"g": 149,
"b": 47
},
"hsl": {
"h": 45,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.68322,
"c": 0.12276,
"h": 89.7
},
"luminance": 0.31767
}Semantic roles & 50–950 ramp
primary
#B7952F
secondary
#7A8DC8
accent
#6DE245
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B