#B98A2F#B98A2F

#B98A2F is a light, moderate orange. Relative luminance 0.287; OKLCH L 66.3% C 0.119 H 80.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B98A2F
RGBrgb(185, 138, 47)
HSLhsl(40, 59%, 45%)
HSVhsv(40, 75%, 73%)
CMYKcmyk(0%, 25.4%, 74.6%, 27.5%)
CIE-LABlab(60.51, 9.15, 53.09)
CIE-LCHlch(60.51, 53.87, 80.22°)
OKLaboklab(66.3% 0.0205 0.1173)
OKLCHoklch(66.3% 0.119 80.1)
XYZxyz(29.6111, 28.6987, 6.6686)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98A2F #2F5EB9
analogous
#B9452F #B98A2F #A3B92F
triadic
#B98A2F #2FB98A #8A2FB9
tetradic
#B98A2F #2FB945 #2F5EB9 #B92FA3
square
#B98A2F #2FB945 #2F5EB9 #B92FA3
split-complementary
#B98A2F #2FA3B9 #452FB9
monochromatic
#574116 #886623 #B98A2F #D3A752 #DFC083

Accessibility & contrast

On white

3.12
#B98A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B98A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B98A2F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98A2F#FFFFFF#000000##000000
##B98A2F1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B22
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#C97C78
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b98a2f;
/* rgb */ color: rgb(185, 138, 47);
/* oklch */ color: oklch(66.3% 0.119 80.1);
Tailwind
colors: {
  custom: {
    50: '#d3ab6d',
    500: '#b98a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b98a2f;
$custom-light: #d3ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b98a2f",
  "rgb": {
    "r": 185,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 39.565,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.11911,
    "h": 80.1
  },
  "luminance": 0.28696
}

Semantic roles & 50–950 ramp

primary
#B98A2F
secondary
#7B96C9
accent
#7BE345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B98A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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