#B98A31#B98A31
#B98A31 is a light, moderate orange. Relative luminance 0.287; OKLCH L 66.3% C 0.118 H 79.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B98A31 |
|---|---|
| RGB | rgb(185, 138, 49) |
| HSL | hsl(39, 58%, 46%) |
| HSV | hsv(39, 74%, 73%) |
| CMYK | cmyk(0%, 25.4%, 73.5%, 27.5%) |
| CIE-LAB | lab(60.53, 9.24, 52.26) |
| CIE-LCH | lch(60.53, 53.08, 79.97°) |
| OKLab | oklab(66.31% 0.021 0.116) |
| OKLCH | oklch(66.31% 0.118 79.7) |
| XYZ | xyz(29.6524, 28.7152, 6.8860) |
| Luminance | 0.2871 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.19
Dark Tan
#AF884A
ΔE00 4.67
Ochre
#BF9005
ΔE00 4.79
Mustard Brown
#AC7E04
ΔE00 5.03
Golden Brown
#B27A01
ΔE00 5.60
Yellowy Brown
#AE8B0C
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98A31 #3160B9
analogous
#B94631 #B98A31 #A4B931
triadic
#B98A31 #31B98A #8A31B9
tetradic
#B98A31 #31B946 #3160B9 #B931A4
square
#B98A31 #31B946 #3160B9 #B931A4
split-complementary
#B98A31 #31A4B9 #4631B9
monochromatic
#584217 #896624 #B98A31 #D2A755 #DFC086
Accessibility & contrast
On white
3.11
#B98A31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#B98A31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B98A31
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98A31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98A31 | 1.00 | 3.11 | 6.74 | 6.74 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B25
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#C97C78
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b98a31; /* rgb */ color: rgb(185, 138, 49); /* oklch */ color: oklch(66.3% 0.118 79.7);
Tailwind
colors: {
custom: {
50: '#d2ab6f',
500: '#b98a31',
950: '#000000',
},
}SCSS
$custom: #b98a31; $custom-light: #d2ab6f; $custom-dark: #000000;
JSON
{
"hex": "#b98a31",
"rgb": {
"r": 185,
"g": 138,
"b": 49
},
"hsl": {
"h": 39.265,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.66314,
"c": 0.11789,
"h": 79.7
},
"luminance": 0.28713
}Semantic roles & 50–950 ramp
primary
#B98A31
secondary
#7D97C8
accent
#7CE146
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B