#B98C31#B98C31

#B98C31 is a light, moderate orange. Relative luminance 0.293; OKLCH L 66.7% C 0.118 H 81.4°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B98C31
RGBrgb(185, 140, 49)
HSLhsl(40, 58%, 46%)
HSVhsv(40, 74%, 73%)
CMYKcmyk(0%, 24.3%, 73.5%, 27.5%)
CIE-LABlab(61.04, 8.14, 52.78)
CIE-LCHlch(61.04, 53.40, 81.23°)
OKLaboklab(66.72% 0.0178 0.1171)
OKLCHoklch(66.72% 0.118 81.4)
XYZxyz(29.9420, 29.2944, 6.9825)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98C31 #315EB9
analogous
#B94831 #B98C31 #A2B931
triadic
#B98C31 #31B98C #8C31B9
tetradic
#B98C31 #31B948 #315EB9 #B931A2
square
#B98C31 #31B948 #315EB9 #B931A2
split-complementary
#B98C31 #31A2B9 #4831B9
monochromatic
#584317 #896724 #B98C31 #D2A955 #DFC186

Accessibility & contrast

On white

3.06
#B98C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B98C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B98C31
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98C31#FFFFFF#000000##000000
##B98C311.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D24
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#C97F7A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b98c31;
/* rgb */ color: rgb(185, 140, 49);
/* oklch */ color: oklch(66.7% 0.118 81.4);
Tailwind
colors: {
  custom: {
    50: '#d2ad6f',
    500: '#b98c31',
    950: '#000000',
  },
}
SCSS
$custom: #b98c31;
$custom-light: #d2ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b98c31",
  "rgb": {
    "r": 185,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 40.147,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66715,
    "c": 0.11843,
    "h": 81.4
  },
  "luminance": 0.29292
}

Semantic roles & 50–950 ramp

primary
#B98C31
secondary
#7D96C8
accent
#7AE146
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151008
muted
#837F7B

Preview Lab

Preview with #B98C31

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

Preview Lab → · Contrast checker → · Palette generator →

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