#BBAB46#BBAB46

#BBAB46 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.122 H 100.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#BBAB46
RGBrgb(187, 171, 70)
HSLhsl(52, 46%, 50%)
HSVhsv(52, 63%, 73%)
CMYKcmyk(0%, 8.6%, 62.6%, 26.7%)
CIE-LABlab(69.57, -6.50, 52.62)
CIE-LCHlch(69.57, 53.02, 97.05°)
OKLaboklab(73.54% -0.0219 0.1203)
OKLCHoklch(73.54% 0.122 100.3)
XYZxyz(36.1634, 40.1343, 11.6350)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB46 #4656BB
analogous
#BB7046 #BBAB46 #90BB46
triadic
#BBAB46 #46BBAB #AB46BB
tetradic
#BBAB46 #46BB70 #4656BB #BB4690
square
#BBAB46 #46BB70 #4656BB #BB4690
split-complementary
#BBAB46 #4690BB #7046BB
monochromatic
#625A24 #8F8335 #BBAB46 #CBBF73 #DCD4A0

Accessibility & contrast

On white

2.33
#BBAB46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#BBAB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB46
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB46#FFFFFF#000000##000000
##BBAB461.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63A
Deuteranopia (green-blind)
#BFAD4B
Tritanopia (blue-blind)
#C9A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab46;
/* rgb */ color: rgb(187, 171, 70);
/* oklch */ color: oklch(73.5% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#d2c37e',
    500: '#bbab46',
    950: '#000000',
  },
}
SCSS
$custom: #bbab46;
$custom-light: #d2c37e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab46",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 51.795,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73541,
    "c": 0.12224,
    "h": 100.3
  },
  "luminance": 0.40133
}

Semantic roles & 50–950 ramp

primary
#BBAB46
secondary
#949BC8
accent
#64D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAB46

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

Preview Lab → · Contrast checker → · Palette generator →

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