#BBAA30#BBAA30

#BBAA30 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.137 H 101.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BBAA30
RGBrgb(187, 170, 48)
HSLhsl(53, 59%, 46%)
HSVhsv(53, 74%, 73%)
CMYKcmyk(0%, 9.1%, 74.3%, 26.7%)
CIE-LABlab(69.13, -7.20, 61.10)
CIE-LCHlch(69.13, 61.52, 96.72°)
OKLaboklab(73.15% -0.0263 0.1345)
OKLCHoklch(73.15% 0.137 101.1)
XYZxyz(35.4034, 39.5293, 8.5608)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAA30 #3041BB
analogous
#BB6430 #BBAA30 #86BB30
triadic
#BBAA30 #30BBAA #AA30BB
tetradic
#BBAA30 #30BB64 #3041BB #BB3086
square
#BBAA30 #30BB64 #3041BB #BB3086
split-complementary
#BBAA30 #3086BB #6430BB
monochromatic
#5A5117 #8A7E23 #BBAA30 #D3C455 #E0D586

Accessibility & contrast

On white

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

On black

8.91
#BBAA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAA30
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAA30#FFFFFF#000000##000000
##BBAA301.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA519
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#CA9E92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bbaa30;
/* rgb */ color: rgb(187, 170, 48);
/* oklch */ color: oklch(73.1% 0.137 101.1);
Tailwind
colors: {
  custom: {
    50: '#d3c271',
    500: '#bbaa30',
    950: '#000000',
  },
}
SCSS
$custom: #bbaa30;
$custom-light: #d3c271;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaa30",
  "rgb": {
    "r": 187,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 52.662,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.13703,
    "h": 101.1
  },
  "luminance": 0.39528
}

Semantic roles & 50–950 ramp

primary
#BBAA30
secondary
#7D87C9
accent
#59E245
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBAA30

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

Preview Lab → · Contrast checker → · Palette generator →

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