#BB9827#BB9827

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

Color values

HEX#BB9827
RGBrgb(187, 152, 39)
HSLhsl(46, 65%, 44%)
HSVhsv(46, 79%, 73%)
CMYKcmyk(0%, 18.7%, 79.1%, 26.7%)
CIE-LABlab(64.30, 2.05, 59.76)
CIE-LCHlch(64.30, 59.79, 88.04°)
OKLaboklab(69.3% -0.001 0.1298)
OKLCHoklch(69.3% 0.13 90.4)
XYZxyz(32.0899, 33.1698, 6.6313)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9827 #274ABB
analogous
#BB4E27 #BB9827 #94BB27
triadic
#BB9827 #27BB98 #9827BB
tetradic
#BB9827 #27BB4E #274ABB #BB2794
square
#BB9827 #27BB4E #274ABB #BB2794
split-complementary
#BB9827 #2794BB #4E27BB
monochromatic
#564612 #886F1C #BB9827 #D9B647 #E3CA79

Accessibility & contrast

On white

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

On black

7.63
#BB9827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9827
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9827#FFFFFF#000000##000000
##BB98271.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9827;
/* rgb */ color: rgb(187, 152, 39);
/* oklch */ color: oklch(69.3% 0.130 90.4);
Tailwind
colors: {
  custom: {
    50: '#d4b56b',
    500: '#bb9827',
    950: '#000000',
  },
}
SCSS
$custom: #bb9827;
$custom-light: #d4b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9827",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 45.811,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69304,
    "c": 0.12979,
    "h": 90.4
  },
  "luminance": 0.33168
}

Semantic roles & 50–950 ramp

primary
#BB9827
secondary
#7388CB
accent
#67E83F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB9827

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

Preview Lab → · Contrast checker → · Palette generator →

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