#BB982D#BB982D

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

Color values

HEX#BB982D
RGBrgb(187, 152, 45)
HSLhsl(45, 61%, 45%)
HSVhsv(45, 76%, 73%)
CMYKcmyk(0%, 18.7%, 75.9%, 26.7%)
CIE-LABlab(64.33, 2.29, 57.64)
CIE-LCHlch(64.33, 57.69, 87.73°)
OKLaboklab(69.34% 0.0004 0.1265)
OKLCHoklch(69.34% 0.127 89.8)
XYZxyz(32.1973, 33.2128, 7.1970)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB982D #2D50BB
analogous
#BB512D #BB982D #97BB2D
triadic
#BB982D #2DBB98 #982DBB
tetradic
#BB982D #2DBB51 #2D50BB #BB2D97
square
#BB982D #2DBB51 #2D50BB #BB2D97
split-complementary
#BB982D #2D97BB #512DBB
monochromatic
#584815 #8A7021 #BB982D #D5B450 #E1C982

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB982D#FFFFFF#000000##000000
##BB982D1.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)
#AA961A
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#CB8B83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb982d;
/* rgb */ color: rgb(187, 152, 45);
/* oklch */ color: oklch(69.3% 0.127 89.8);
Tailwind
colors: {
  custom: {
    50: '#d4b66e',
    500: '#bb982d',
    950: '#000000',
  },
}
SCSS
$custom: #bb982d;
$custom-light: #d4b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb982d",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 45.211,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69342,
    "c": 0.12652,
    "h": 89.8
  },
  "luminance": 0.33211
}

Semantic roles & 50–950 ramp

primary
#BB982D
secondary
#7A8ECA
accent
#6BE443
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BB982D

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

Preview Lab → · Contrast checker → · Palette generator →

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