#B9972E#B9972E
#B9972E is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.9% C 0.125 H 90.1°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B9972E |
|---|---|
| RGB | rgb(185, 151, 46) |
| HSL | hsl(45, 60%, 45%) |
| HSV | hsv(45, 75%, 73%) |
| CMYK | cmyk(0%, 18.4%, 75.1%, 27.5%) |
| CIE-LAB | lab(63.87, 1.98, 56.75) |
| CIE-LCH | lch(63.87, 56.79, 88.00°) |
| OKLab | oklab(68.94% -0.0003 0.1249) |
| OKLCH | oklch(68.94% 0.125 90.1) |
| XYZ | xyz(31.5692, 32.6468, 7.2229) |
| Luminance | 0.3265 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.43
Yellow Brown
#B79400
ΔE00 2.87
Ocher
#BF9B0C
ΔE00 3.12
Baby Shit Brown
#AD900D
ΔE00 3.64
Brown Yellow
#B29705
ΔE00 3.73
Ocre
#C69C04
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9972E #2E50B9
analogous
#B9522E #B9972E #95B92E
triadic
#B9972E #2EB997 #972EB9
tetradic
#B9972E #2EB952 #2E50B9 #B92E95
square
#B9972E #2EB952 #2E50B9 #B92E95
split-complementary
#B9972E #2E95B9 #522EB9
monochromatic
#574716 #886F22 #B9972E #D4B451 #E0C982
Accessibility & contrast
On white
2.79
#B9972E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#B9972E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9972E
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9972E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9972E | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8951D
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#C88A82
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b9972e; /* rgb */ color: rgb(185, 151, 46); /* oklch */ color: oklch(68.9% 0.125 90.1);
Tailwind
colors: {
custom: {
50: '#d2b56e',
500: '#b9972e',
950: '#000000',
},
}SCSS
$custom: #b9972e; $custom-light: #d2b56e; $custom-dark: #000000;
JSON
{
"hex": "#b9972e",
"rgb": {
"r": 185,
"g": 151,
"b": 46
},
"hsl": {
"h": 45.324,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.68936,
"c": 0.12493,
"h": 90.1
},
"luminance": 0.32645
}Semantic roles & 50–950 ramp
primary
#B9972E
secondary
#7A8DC9
accent
#6BE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B