#BB9726#BB9726

#BB9726 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 69.1% C 0.130 H 89.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BB9726
RGBrgb(187, 151, 38)
HSLhsl(46, 66%, 44%)
HSVhsv(46, 80%, 73%)
CMYKcmyk(0%, 19.3%, 79.7%, 26.7%)
CIE-LABlab(64.03, 2.55, 59.85)
CIE-LCHlch(64.03, 59.91, 87.56°)
OKLaboklab(69.09% 0.0004 0.1298)
OKLCHoklch(69.09% 0.13 89.8)
XYZxyz(31.9119, 32.8400, 6.4913)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9726 #264ABB
analogous
#BB4C26 #BB9726 #95BB26
triadic
#BB9726 #26BB97 #9726BB
tetradic
#BB9726 #26BB4C #264ABB #BB2695
square
#BB9726 #26BB4C #264ABB #BB2695
split-complementary
#BB9726 #2695BB #4C26BB
monochromatic
#554511 #886E1C #BB9726 #D9B545 #E4CA78

Accessibility & contrast

On white

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

On black

7.57
#BB9726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9726
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9726#FFFFFF#000000##000000
##BB97261.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950C
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#CB8982
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb9726;
/* rgb */ color: rgb(187, 151, 38);
/* oklch */ color: oklch(69.1% 0.130 89.8);
Tailwind
colors: {
  custom: {
    50: '#d4b56a',
    500: '#bb9726',
    950: '#000000',
  },
}
SCSS
$custom: #bb9726;
$custom-light: #d4b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9726",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 45.503,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69092,
    "c": 0.12979,
    "h": 89.8
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#BB9726
secondary
#7287CB
accent
#68E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BB9726

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

Preview Lab → · Contrast checker → · Palette generator →

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