#B7952E#B7952E
#B7952E is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.3% C 0.123 H 89.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B7952E |
|---|---|
| RGB | rgb(183, 149, 46) |
| HSL | hsl(45, 60%, 45%) |
| HSV | hsv(45, 75%, 72%) |
| CMYK | cmyk(0%, 18.6%, 74.9%, 28.2%) |
| CIE-LAB | lab(63.15, 2.18, 55.98) |
| CIE-LCH | lch(63.15, 56.02, 87.77°) |
| OKLab | oklab(68.32% 0.0004 0.1234) |
| OKLCH | oklch(68.32% 0.123 89.8) |
| XYZ | xyz(30.7708, 31.7614, 7.0941) |
| Luminance | 0.3176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.47
Yellow Brown
#B79400
ΔE00 2.96
Baby Shit Brown
#AD900D
ΔE00 3.40
Ocher
#BF9B0C
ΔE00 3.62
Yellowy Brown
#AE8B0C
ΔE00 3.64
Brown Yellow
#B29705
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7952E #2E50B7
analogous
#B7502E #B7952E #95B72E
triadic
#B7952E #2EB795 #952EB7
tetradic
#B7952E #2EB750 #2E50B7 #B72E95
square
#B7952E #2EB750 #2E50B7 #B72E95
split-complementary
#B7952E #2E95B7 #502EB7
monochromatic
#554515 #866D22 #B7952E #D3B24F #DFC880
Accessibility & contrast
On white
2.86
#B7952E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#B7952E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7952E
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7952E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7952E | 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)
#A6931D
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#C68881
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b7952e; /* rgb */ color: rgb(183, 149, 46); /* oklch */ color: oklch(68.3% 0.123 89.8);
Tailwind
colors: {
custom: {
50: '#d1b36e',
500: '#b7952e',
950: '#000000',
},
}SCSS
$custom: #b7952e; $custom-light: #d1b36e; $custom-dark: #000000;
JSON
{
"hex": "#b7952e",
"rgb": {
"r": 183,
"g": 149,
"b": 46
},
"hsl": {
"h": 45.109,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.68315,
"c": 0.12337,
"h": 89.8
},
"luminance": 0.31759
}Semantic roles & 50–950 ramp
primary
#B7952E
secondary
#798CC8
accent
#6CE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B