#BB982C#BB982C

#BB982C is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.3% C 0.127 H 89.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#BB982C
RGBrgb(187, 152, 44)
HSLhsl(45, 62%, 45%)
HSVhsv(45, 76%, 73%)
CMYKcmyk(0%, 18.7%, 76.5%, 26.7%)
CIE-LABlab(64.33, 2.24, 58.01)
CIE-LCHlch(64.33, 58.05, 87.78°)
OKLaboklab(69.34% 0.0001 0.1271)
OKLCHoklch(69.34% 0.127 89.9)
XYZxyz(32.1783, 33.2052, 7.0968)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB982C #2C4FBB
analogous
#BB512C #BB982C #96BB2C
triadic
#BB982C #2CBB98 #982CBB
tetradic
#BB982C #2CBB51 #2C4FBB #BB2C96
square
#BB982C #2CBB51 #2C4FBB #BB2C96
split-complementary
#BB982C #2C96BB #512CBB
monochromatic
#584715 #897020 #BB982C #D6B54F #E1C980

Accessibility & contrast

On white

2.75
#BB982C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#BB982C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB982C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB982C#FFFFFF#000000##000000
##BB982C1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9619
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#CB8B83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb982c;
/* rgb */ color: rgb(187, 152, 44);
/* oklch */ color: oklch(69.3% 0.127 89.9);
Tailwind
colors: {
  custom: {
    50: '#d4b56d',
    500: '#bb982c',
    950: '#000000',
  },
}
SCSS
$custom: #bb982c;
$custom-light: #d4b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#bb982c",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 45.315,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69336,
    "c": 0.1271,
    "h": 89.9
  },
  "luminance": 0.33203
}

Semantic roles & 50–950 ramp

primary
#BB982C
secondary
#798DCA
accent
#6BE543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB982C

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

Preview Lab → · Contrast checker → · Palette generator →

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