#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
RGBrgb(185, 138, 49)
HSLhsl(39, 58%, 46%)
HSVhsv(39, 74%, 73%)
CMYKcmyk(0%, 25.4%, 73.5%, 27.5%)
CIE-LABlab(60.53, 9.24, 52.26)
CIE-LCHlch(60.53, 53.08, 79.97°)
OKLaboklab(66.31% 0.021 0.116)
OKLCHoklch(66.31% 0.118 79.7)
XYZxyz(29.6524, 28.7152, 6.8860)
Luminance0.2871 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

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
##B98A311.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.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

Preview Lab

Preview with #B98A31

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

Preview Lab → · Contrast checker → · Palette generator →

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