#B9982A#B9982A

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

Color values

HEX#B9982A
RGBrgb(185, 152, 42)
HSLhsl(46, 63%, 45%)
HSVhsv(46, 77%, 73%)
CMYKcmyk(0%, 17.8%, 77.3%, 27.5%)
CIE-LABlab(64.11, 1.27, 58.46)
CIE-LCHlch(64.11, 58.48, 88.75°)
OKLaboklab(69.12% -0.0028 0.1278)
OKLCHoklch(69.12% 0.128 91.2)
XYZxyz(31.6556, 32.9399, 6.8808)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9982A #2A4BB9
analogous
#B9512A #B9982A #93B92A
triadic
#B9982A #2AB998 #982AB9
tetradic
#B9982A #2AB951 #2A4BB9 #B92A93
square
#B9982A #2AB951 #2A4BB9 #B92A93
split-complementary
#B9982A #2A93B9 #512AB9
monochromatic
#554613 #876F1F #B9982A #D6B64A #E1CA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9982A#FFFFFF#000000##000000
##B9982A1.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)
#AA9615
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#C98B83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b9982a;
/* rgb */ color: rgb(185, 152, 42);
/* oklch */ color: oklch(69.1% 0.128 91.2);
Tailwind
colors: {
  custom: {
    50: '#d2b56c',
    500: '#b9982a',
    950: '#000000',
  },
}
SCSS
$custom: #b9982a;
$custom-light: #d2b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9982a",
  "rgb": {
    "r": 185,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 46.154,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69116,
    "c": 0.12778,
    "h": 91.2
  },
  "luminance": 0.32938
}

Semantic roles & 50–950 ramp

primary
#B9982A
secondary
#7589CA
accent
#68E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B9982A

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

Preview Lab → · Contrast checker → · Palette generator →

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