#B98B2F#B98B2F

#B98B2F is a light, moderate orange. Relative luminance 0.290; OKLCH L 66.5% C 0.119 H 80.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B98B2F
RGBrgb(185, 139, 47)
HSLhsl(40, 59%, 45%)
HSVhsv(40, 75%, 73%)
CMYKcmyk(0%, 24.9%, 74.6%, 27.5%)
CIE-LABlab(60.77, 8.60, 53.34)
CIE-LCHlch(60.77, 54.03, 80.84°)
OKLaboklab(66.5% 0.0189 0.1179)
OKLCHoklch(66.5% 0.119 80.9)
XYZxyz(29.7552, 28.9870, 6.7167)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98B2F #2F5DB9
analogous
#B9462F #B98B2F #A2B92F
triadic
#B98B2F #2FB98B #8B2FB9
tetradic
#B98B2F #2FB946 #2F5DB9 #B92FA2
square
#B98B2F #2FB946 #2F5DB9 #B92FA2
split-complementary
#B98B2F #2FA2B9 #462FB9
monochromatic
#574216 #886623 #B98B2F #D3A852 #DFC183

Accessibility & contrast

On white

3.09
#B98B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B98B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B98B2F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98B2F#FFFFFF#000000##000000
##B98B2F1.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)
#9E8C21
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#C97D78
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b98b2f;
/* rgb */ color: rgb(185, 139, 47);
/* oklch */ color: oklch(66.5% 0.119 80.9);
Tailwind
colors: {
  custom: {
    50: '#d2ac6e',
    500: '#b98b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b98b2f;
$custom-light: #d2ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b98b2f",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 40,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66498,
    "c": 0.11937,
    "h": 80.9
  },
  "luminance": 0.28985
}

Semantic roles & 50–950 ramp

primary
#B98B2F
secondary
#7B95C9
accent
#7AE345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B98B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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