#BB9727#BB9727

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

Color values

HEX#BB9727
RGBrgb(187, 151, 39)
HSLhsl(45, 65%, 44%)
HSVhsv(45, 79%, 73%)
CMYKcmyk(0%, 19.3%, 79.1%, 26.7%)
CIE-LABlab(64.04, 2.59, 59.52)
CIE-LCHlch(64.04, 59.58, 87.51°)
OKLaboklab(69.1% 0.0006 0.1293)
OKLCHoklch(69.1% 0.129 89.7)
XYZxyz(31.9283, 32.8466, 6.5774)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9727 #274BBB
analogous
#BB4D27 #BB9727 #95BB27
triadic
#BB9727 #27BB97 #9727BB
tetradic
#BB9727 #27BB4D #274BBB #BB2795
square
#BB9727 #27BB4D #274BBB #BB2795
split-complementary
#BB9727 #2795BB #4D27BB
monochromatic
#564512 #886E1C #BB9727 #D9B547 #E3C979

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9727#FFFFFF#000000##000000
##BB97271.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)
#A9950E
Deuteranopia (green-blind)
#B29F2E
Tritanopia (blue-blind)
#CB8982
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb9727;
/* rgb */ color: rgb(187, 151, 39);
/* oklch */ color: oklch(69.1% 0.129 89.7);
Tailwind
colors: {
  custom: {
    50: '#d4b56b',
    500: '#bb9727',
    950: '#000000',
  },
}
SCSS
$custom: #bb9727;
$custom-light: #d4b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9727",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 45.405,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69098,
    "c": 0.12928,
    "h": 89.7
  },
  "luminance": 0.32844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB9727

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

Preview Lab → · Contrast checker → · Palette generator →

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