#BBAA42#BBAA42

#BBAA42 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.125 H 100.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#BBAA42
RGBrgb(187, 170, 66)
HSLhsl(52, 48%, 50%)
HSVhsv(52, 65%, 73%)
CMYKcmyk(0%, 9.1%, 64.7%, 26.7%)
CIE-LABlab(69.26, -6.24, 54.06)
CIE-LCHlch(69.26, 54.41, 96.58°)
OKLaboklab(73.29% -0.0216 0.1227)
OKLCHoklch(73.29% 0.125 100)
XYZxyz(35.8531, 39.7092, 10.9293)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAA42 #4253BB
analogous
#BB6D42 #BBAA42 #90BB42
triadic
#BBAA42 #42BBAA #AA42BB
tetradic
#BBAA42 #42BB6D #4253BB #BB4290
square
#BBAA42 #42BB6D #4253BB #BB4290
split-complementary
#BBAA42 #4290BB #6D42BB
monochromatic
#615822 #8E8132 #BBAA42 #CCBF6E #DCD39C

Accessibility & contrast

On white

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

On black

8.94
#BBAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAA42
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAA42#FFFFFF#000000##000000
##BBAA421.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#BEAC48
Tritanopia (blue-blind)
#C99E94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bbaa42;
/* rgb */ color: rgb(187, 170, 66);
/* oklch */ color: oklch(73.3% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#d3c37b',
    500: '#bbaa42',
    950: '#000000',
  },
}
SCSS
$custom: #bbaa42;
$custom-light: #d3c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaa42",
  "rgb": {
    "r": 187,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 51.57,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73289,
    "c": 0.1246,
    "h": 100
  },
  "luminance": 0.39708
}

Semantic roles & 50–950 ramp

primary
#BBAA42
secondary
#9199C8
accent
#63D750
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BBAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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