#BBAA39#BBAA39

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

Color values

HEX#BBAA39
RGBrgb(187, 170, 57)
HSLhsl(52, 53%, 48%)
HSVhsv(52, 70%, 73%)
CMYKcmyk(0%, 9.1%, 69.5%, 26.7%)
CIE-LABlab(69.19, -6.76, 57.74)
CIE-LCHlch(69.19, 58.14, 96.68°)
OKLaboklab(73.21% -0.0241 0.129)
OKLCHoklch(73.21% 0.131 100.6)
XYZxyz(35.6083, 39.6113, 9.6402)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAA39 #394ABB
analogous
#BB6939 #BBAA39 #8BBB39
triadic
#BBAA39 #39BBAA #AA39BB
tetradic
#BBAA39 #39BB69 #394ABB #BB398B
square
#BBAA39 #39BB69 #394ABB #BB398B
split-complementary
#BBAA39 #398BBB #6939BB
monochromatic
#5D551C #8C7F2B #BBAA39 #CFC162 #DDD391

Accessibility & contrast

On white

2.35
#BBAA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAA39#FFFFFF#000000##000000
##BBAA391.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbaa39;
/* rgb */ color: rgb(187, 170, 57);
/* oklch */ color: oklch(73.2% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#d3c376',
    500: '#bbaa39',
    950: '#000000',
  },
}
SCSS
$custom: #bbaa39;
$custom-light: #d3c376;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaa39",
  "rgb": {
    "r": 187,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 52.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73211,
    "c": 0.13126,
    "h": 100.6
  },
  "luminance": 0.3961
}

Semantic roles & 50–950 ramp

primary
#BBAA39
secondary
#8790C8
accent
#5EDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAA39

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

Preview Lab → · Contrast checker → · Palette generator →

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