#BBAA3B#BBAA3B

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

Color values

HEX#BBAA3B
RGBrgb(187, 170, 59)
HSLhsl(52, 52%, 48%)
HSVhsv(52, 68%, 73%)
CMYKcmyk(0%, 9.1%, 68.4%, 26.7%)
CIE-LABlab(69.21, -6.65, 56.95)
CIE-LCHlch(69.21, 57.34, 96.66°)
OKLaboklab(73.23% -0.0236 0.1277)
OKLCHoklch(73.23% 0.13 100.5)
XYZxyz(35.6592, 39.6316, 9.9082)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAA3B #3B4CBB
analogous
#BB6A3B #BBAA3B #8CBB3B
triadic
#BBAA3B #3BBBAA #AA3BBB
tetradic
#BBAA3B #3BBB6A #3B4CBB #BB3B8C
square
#BBAA3B #3BBB6A #3B4CBB #BB3B8C
split-complementary
#BBAA3B #3B8CBB #6A3BBB
monochromatic
#5E551E #8C802C #BBAA3B #CEC065 #DDD393

Accessibility & contrast

On white

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

On black

8.93
#BBAA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAA3B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAA3B#FFFFFF#000000##000000
##BBAA3B1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbaa3b;
/* rgb */ color: rgb(187, 170, 59);
/* oklch */ color: oklch(73.2% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#d3c377',
    500: '#bbaa3b',
    950: '#000000',
  },
}
SCSS
$custom: #bbaa3b;
$custom-light: #d3c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaa3b",
  "rgb": {
    "r": 187,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 52.031,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.12985,
    "h": 100.5
  },
  "luminance": 0.3963
}

Semantic roles & 50–950 ramp

primary
#BBAA3B
secondary
#8A92C8
accent
#5FDB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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