#B9982D#B9982D

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

Color values

HEX#B9982D
RGBrgb(185, 152, 45)
HSLhsl(46, 61%, 45%)
HSVhsv(46, 76%, 73%)
CMYKcmyk(0%, 17.8%, 75.7%, 27.5%)
CIE-LABlab(64.13, 1.40, 57.38)
CIE-LCHlch(64.13, 57.39, 88.61°)
OKLaboklab(69.14% -0.0021 0.1261)
OKLCHoklch(69.14% 0.126 90.9)
XYZxyz(31.7113, 32.9622, 7.1742)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9982D #2D4EB9
analogous
#B9522D #B9982D #94B92D
triadic
#B9982D #2DB998 #982DB9
tetradic
#B9982D #2DB952 #2D4EB9 #B92D94
square
#B9982D #2DB952 #2D4EB9 #B92D94
split-complementary
#B9982D #2D94B9 #522DB9
monochromatic
#574715 #887021 #B9982D #D4B54F #E0CA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9982D#FFFFFF#000000##000000
##B9982D1.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)
#A9961A
Deuteranopia (green-blind)
#B29F33
Tritanopia (blue-blind)
#C88B83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9982d;
/* rgb */ color: rgb(185, 152, 45);
/* oklch */ color: oklch(69.1% 0.126 90.9);
Tailwind
colors: {
  custom: {
    50: '#d2b56e',
    500: '#b9982d',
    950: '#000000',
  },
}
SCSS
$custom: #b9982d;
$custom-light: #d2b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9982d",
  "rgb": {
    "r": 185,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 45.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.12607,
    "h": 90.9
  },
  "luminance": 0.3296
}

Semantic roles & 50–950 ramp

primary
#B9982D
secondary
#798CC9
accent
#6AE444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B9982D

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

Preview Lab → · Contrast checker → · Palette generator →

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