#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
RGBrgb(185, 139, 49)
HSLhsl(40, 58%, 46%)
HSVhsv(40, 74%, 73%)
CMYKcmyk(0%, 24.9%, 73.5%, 27.5%)
CIE-LABlab(60.78, 8.69, 52.52)
CIE-LCHlch(60.78, 53.23, 80.60°)
OKLaboklab(66.51% 0.0194 0.1165)
OKLCHoklch(66.51% 0.118 80.5)
XYZxyz(29.7965, 29.0035, 6.9340)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

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
##B98B311.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.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

Preview Lab

Preview with #B98B31

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B98B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva