#B98C2F#B98C2F

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

Color values

HEX#B98C2F
RGBrgb(185, 140, 47)
HSLhsl(40, 59%, 45%)
HSVhsv(40, 75%, 73%)
CMYKcmyk(0%, 24.3%, 74.6%, 27.5%)
CIE-LABlab(61.03, 8.05, 53.59)
CIE-LCHlch(61.03, 54.19, 81.46°)
OKLaboklab(66.7% 0.0173 0.1184)
OKLCHoklch(66.7% 0.12 81.7)
XYZxyz(29.9007, 29.2779, 6.7651)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98C2F #2F5CB9
analogous
#B9472F #B98C2F #A1B92F
triadic
#B98C2F #2FB98C #8C2FB9
tetradic
#B98C2F #2FB947 #2F5CB9 #B92FA1
square
#B98C2F #2FB947 #2F5CB9 #B92FA1
split-complementary
#B98C2F #2FA1B9 #472FB9
monochromatic
#574216 #886723 #B98C2F #D3A952 #DFC183

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B98C2F#FFFFFF#000000##000000
##B98C2F1.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)
#9E8D21
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#C97E79
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b98c2f;
/* rgb */ color: rgb(185, 140, 47);
/* oklch */ color: oklch(66.7% 0.120 81.7);
Tailwind
colors: {
  custom: {
    50: '#d2ad6e',
    500: '#b98c2f',
    950: '#000000',
  },
}
SCSS
$custom: #b98c2f;
$custom-light: #d2ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b98c2f",
  "rgb": {
    "r": 185,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 40.435,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66699,
    "c": 0.11966,
    "h": 81.7
  },
  "luminance": 0.29276
}

Semantic roles & 50–950 ramp

primary
#B98C2F
secondary
#7B94C9
accent
#79E345
background
#FDFAF6
surface
#FBF4EC
border
#D4CEC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B98C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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