#BB982A#BB982A

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

Color values

HEX#BB982A
RGBrgb(187, 152, 42)
HSLhsl(46, 63%, 45%)
HSVhsv(46, 78%, 73%)
CMYKcmyk(0%, 18.7%, 77.5%, 26.7%)
CIE-LABlab(64.31, 2.16, 58.72)
CIE-LCHlch(64.31, 58.76, 87.89°)
OKLaboklab(69.32% -0.0003 0.1282)
OKLCHoklch(69.32% 0.128 90.1)
XYZxyz(32.1416, 33.1905, 6.9035)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB982A #2A4DBB
analogous
#BB4F2A #BB982A #96BB2A
triadic
#BB982A #2ABB98 #982ABB
tetradic
#BB982A #2ABB4F #2A4DBB #BB2A96
square
#BB982A #2ABB4F #2A4DBB #BB2A96
split-complementary
#BB982A #2A96BB #4F2ABB
monochromatic
#574714 #896F1F #BB982A #D7B54C #E2CA7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB982A#FFFFFF#000000##000000
##BB982A1.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)
#AA9615
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#CB8B83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb982a;
/* rgb */ color: rgb(187, 152, 42);
/* oklch */ color: oklch(69.3% 0.128 90.1);
Tailwind
colors: {
  custom: {
    50: '#d4b56c',
    500: '#bb982a',
    950: '#000000',
  },
}
SCSS
$custom: #bb982a;
$custom-light: #d4b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#bb982a",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 45.517,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.12821,
    "h": 90.1
  },
  "luminance": 0.33188
}

Semantic roles & 50–950 ramp

primary
#BB982A
secondary
#768BCA
accent
#69E641
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB982A

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

Preview Lab → · Contrast checker → · Palette generator →

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