#B98C2F#B98C2F
#B98C2F is a light, moderate orange. Relative luminance 0.293; OKLCH L 66.7% C 0.120 H 81.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B98C2F |
|---|---|
| RGB | rgb(185, 140, 47) |
| HSL | hsl(40, 59%, 45%) |
| HSV | hsv(40, 75%, 73%) |
| CMYK | cmyk(0%, 24.3%, 74.6%, 27.5%) |
| CIE-LAB | lab(61.03, 8.05, 53.59) |
| CIE-LCH | lch(61.03, 54.19, 81.46°) |
| OKLab | oklab(66.7% 0.0173 0.1184) |
| OKLCH | oklch(66.7% 0.12 81.7) |
| XYZ | xyz(29.9007, 29.2779, 6.7651) |
| Luminance | 0.2928 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.02
Ochre
#BF9005
ΔE00 3.91
Yellowy Brown
#AE8B0C
ΔE00 4.90
Mustard Brown
#AC7E04
ΔE00 5.13
Dark Tan
#AF884A
ΔE00 5.27
Dark Gold
#B59410
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98C2F #2F5CB9
analogous
#B9472F #B98C2F #A1B92F
triadic
#B98C2F #2FB98C #8C2FB9
tetradic
#B98C2F #2FB947 #2F5CB9 #B92FA1
square
#B98C2F #2FB947 #2F5CB9 #B92FA1
split-complementary
#B98C2F #2FA1B9 #472FB9
monochromatic
#574216 #886723 #B98C2F #D3A952 #DFC183
Accessibility & contrast
On white
3.06
#B98C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#B98C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B98C2F
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98C2F | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8D21
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#C97E79
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b98c2f; /* rgb */ color: rgb(185, 140, 47); /* oklch */ color: oklch(66.7% 0.120 81.7);
Tailwind
colors: {
custom: {
50: '#d2ad6e',
500: '#b98c2f',
950: '#000000',
},
}SCSS
$custom: #b98c2f; $custom-light: #d2ad6e; $custom-dark: #000000;
JSON
{
"hex": "#b98c2f",
"rgb": {
"r": 185,
"g": 140,
"b": 47
},
"hsl": {
"h": 40.435,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.66699,
"c": 0.11966,
"h": 81.7
},
"luminance": 0.29276
}Semantic roles & 50–950 ramp
primary
#B98C2F
secondary
#7B94C9
accent
#79E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A