#B98B31#B98B31
#B98B31 is a light, moderate orange. Relative luminance 0.290; OKLCH L 66.5% C 0.118 H 80.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B98B31 |
|---|---|
| RGB | rgb(185, 139, 49) |
| HSL | hsl(40, 58%, 46%) |
| HSV | hsv(40, 74%, 73%) |
| CMYK | cmyk(0%, 24.9%, 73.5%, 27.5%) |
| CIE-LAB | lab(60.78, 8.69, 52.52) |
| CIE-LCH | lch(60.78, 53.23, 80.60°) |
| OKLab | oklab(66.51% 0.0194 0.1165) |
| OKLCH | oklch(66.51% 0.118 80.5) |
| XYZ | xyz(29.7965, 29.0035, 6.9340) |
| Luminance | 0.2900 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.16
Ochre
#BF9005
ΔE00 4.46
Dark Tan
#AF884A
ΔE00 4.83
Mustard Brown
#AC7E04
ΔE00 5.11
Yellowy Brown
#AE8B0C
ΔE00 5.44
Golden Brown
#B27A01
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98B31 #315FB9
analogous
#B94731 #B98B31 #A3B931
triadic
#B98B31 #31B98B #8B31B9
tetradic
#B98B31 #31B947 #315FB9 #B931A3
square
#B98B31 #31B947 #315FB9 #B931A3
split-complementary
#B98B31 #31A3B9 #4731B9
monochromatic
#584217 #896724 #B98B31 #D2A855 #DFC186
Accessibility & contrast
On white
3.09
#B98B31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#B98B31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B98B31
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98B31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98B31 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8C24
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#C97D79
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b98b31; /* rgb */ color: rgb(185, 139, 49); /* oklch */ color: oklch(66.5% 0.118 80.5);
Tailwind
colors: {
custom: {
50: '#d2ac6f',
500: '#b98b31',
950: '#000000',
},
}SCSS
$custom: #b98b31; $custom-light: #d2ac6f; $custom-dark: #000000;
JSON
{
"hex": "#b98b31",
"rgb": {
"r": 185,
"g": 139,
"b": 49
},
"hsl": {
"h": 39.706,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.66514,
"c": 0.11815,
"h": 80.5
},
"luminance": 0.29001
}Semantic roles & 50–950 ramp
primary
#B98B31
secondary
#7D97C8
accent
#7BE146
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B