#B9982C#B9982C

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

Color values

HEX#B9982C
RGBrgb(185, 152, 44)
HSLhsl(46, 62%, 45%)
HSVhsv(46, 76%, 73%)
CMYKcmyk(0%, 17.8%, 76.2%, 27.5%)
CIE-LABlab(64.12, 1.35, 57.74)
CIE-LCHlch(64.12, 57.76, 88.66°)
OKLaboklab(69.13% -0.0023 0.1266)
OKLCHoklch(69.13% 0.127 91)
XYZxyz(31.6923, 32.9546, 7.0740)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9982C #2C4DB9
analogous
#B9512C #B9982C #94B92C
triadic
#B9982C #2CB998 #982CB9
tetradic
#B9982C #2CB951 #2C4DB9 #B92C94
square
#B9982C #2CB951 #2C4DB9 #B92C94
split-complementary
#B9982C #2C94B9 #512CB9
monochromatic
#564714 #886F20 #B9982C #D5B54D #E1CA7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9982C#FFFFFF#000000##000000
##B9982C1.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)
#A99619
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#C88B83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9982c;
/* rgb */ color: rgb(185, 152, 44);
/* oklch */ color: oklch(69.1% 0.127 91.0);
Tailwind
colors: {
  custom: {
    50: '#d2b56d',
    500: '#b9982c',
    950: '#000000',
  },
}
SCSS
$custom: #b9982c;
$custom-light: #d2b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9982c",
  "rgb": {
    "r": 185,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 45.957,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69129,
    "c": 0.12665,
    "h": 91
  },
  "luminance": 0.32953
}

Semantic roles & 50–950 ramp

primary
#B9982C
secondary
#788BC9
accent
#69E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9982C

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

Preview Lab → · Contrast checker → · Palette generator →

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