#B9982E#B9982E

#B9982E is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.1% C 0.125 H 90.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B9982E
RGBrgb(185, 152, 46)
HSLhsl(46, 60%, 45%)
HSVhsv(46, 75%, 73%)
CMYKcmyk(0%, 17.8%, 75.1%, 27.5%)
CIE-LABlab(64.14, 1.44, 57.00)
CIE-LCHlch(64.14, 57.02, 88.55°)
OKLaboklab(69.14% -0.0018 0.1255)
OKLCHoklch(69.14% 0.125 90.8)
XYZxyz(31.7308, 32.9700, 7.2768)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9982E #2E4FB9
analogous
#B9522E #B9982E #95B92E
triadic
#B9982E #2EB998 #982EB9
tetradic
#B9982E #2EB952 #2E4FB9 #B92E95
square
#B9982E #2EB952 #2E4FB9 #B92E95
split-complementary
#B9982E #2E95B9 #522EB9
monochromatic
#574716 #887022 #B9982E #D4B551 #E0C982

Accessibility & contrast

On white

2.77
#B9982E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B9982E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9982E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9982E#FFFFFF#000000##000000
##B9982E1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#C88B83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9982e;
/* rgb */ color: rgb(185, 152, 46);
/* oklch */ color: oklch(69.1% 0.125 90.8);
Tailwind
colors: {
  custom: {
    50: '#d2b66e',
    500: '#b9982e',
    950: '#000000',
  },
}
SCSS
$custom: #b9982e;
$custom-light: #d2b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9982e",
  "rgb": {
    "r": 185,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 45.755,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.12547,
    "h": 90.8
  },
  "luminance": 0.32968
}

Semantic roles & 50–950 ramp

primary
#B9982E
secondary
#7A8DC9
accent
#6AE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B9982E

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

Preview Lab → · Contrast checker → · Palette generator →

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