#BBAA36#BBAA36

#BBAA36 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.133 H 100.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#BBAA36
RGBrgb(187, 170, 54)
HSLhsl(52, 55%, 47%)
HSVhsv(52, 71%, 73%)
CMYKcmyk(0%, 9.1%, 71.1%, 26.7%)
CIE-LABlab(69.17, -6.91, 58.90)
CIE-LCHlch(69.17, 59.31, 96.70°)
OKLaboklab(73.19% -0.0249 0.1309)
OKLCHoklch(73.19% 0.133 100.8)
XYZxyz(35.5357, 39.5822, 9.2576)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAA36 #3647BB
analogous
#BB6836 #BBAA36 #89BB36
triadic
#BBAA36 #36BBAA #AA36BB
tetradic
#BBAA36 #36BB68 #3647BB #BB3689
square
#BBAA36 #36BB68 #3647BB #BB3689
split-complementary
#BBAA36 #3689BB #6836BB
monochromatic
#5C541B #8C7F28 #BBAA36 #D0C25E #DED48D

Accessibility & contrast

On white

2.36
#BBAA36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#BBAA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAA36
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAA36#FFFFFF#000000##000000
##BBAA361.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA524
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#C99E93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bbaa36;
/* rgb */ color: rgb(187, 170, 54);
/* oklch */ color: oklch(73.2% 0.133 100.8);
Tailwind
colors: {
  custom: {
    50: '#d3c274',
    500: '#bbaa36',
    950: '#000000',
  },
}
SCSS
$custom: #bbaa36;
$custom-light: #d3c274;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaa36",
  "rgb": {
    "r": 187,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 52.331,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73188,
    "c": 0.13328,
    "h": 100.8
  },
  "luminance": 0.39581
}

Semantic roles & 50–950 ramp

primary
#BBAA36
secondary
#848DC9
accent
#5CDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAA36

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

Preview Lab → · Contrast checker → · Palette generator →

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