#B9982F#B9982F

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

Color values

HEX#B9982F
RGBrgb(185, 152, 47)
HSLhsl(46, 59%, 45%)
HSVhsv(46, 75%, 73%)
CMYKcmyk(0%, 17.8%, 74.6%, 27.5%)
CIE-LABlab(64.14, 1.49, 56.63)
CIE-LCHlch(64.14, 56.65, 88.50°)
OKLaboklab(69.15% -0.0016 0.1249)
OKLCHoklch(69.15% 0.125 90.7)
XYZxyz(31.7507, 32.9780, 7.3818)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9982F #2F50B9
analogous
#B9532F #B9982F #95B92F
triadic
#B9982F #2FB998 #982FB9
tetradic
#B9982F #2FB953 #2F50B9 #B92F95
square
#B9982F #2FB953 #2F50B9 #B92F95
split-complementary
#B9982F #2F95B9 #532FB9
monochromatic
#574816 #887023 #B9982F #D3B452 #DFC983

Accessibility & contrast

On white

2.76
#B9982F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B9982F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9982F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9982F#FFFFFF#000000##000000
##B9982F1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9982f;
/* rgb */ color: rgb(185, 152, 47);
/* oklch */ color: oklch(69.2% 0.125 90.7);
Tailwind
colors: {
  custom: {
    50: '#d2b66f',
    500: '#b9982f',
    950: '#000000',
  },
}
SCSS
$custom: #b9982f;
$custom-light: #d2b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9982f",
  "rgb": {
    "r": 185,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 45.652,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6915,
    "c": 0.12487,
    "h": 90.7
  },
  "luminance": 0.32976
}

Semantic roles & 50–950 ramp

primary
#B9982F
secondary
#7B8EC9
accent
#6BE345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B9982F

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

Preview Lab → · Contrast checker → · Palette generator →

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