#BBAB41#BBAB41

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

Color values

HEX#BBAB41
RGBrgb(187, 171, 65)
HSLhsl(52, 48%, 49%)
HSVhsv(52, 65%, 73%)
CMYKcmyk(0%, 8.6%, 65.2%, 26.7%)
CIE-LABlab(69.52, -6.83, 54.76)
CIE-LCHlch(69.52, 55.19, 97.10°)
OKLaboklab(73.49% -0.0234 0.1241)
OKLCHoklch(73.49% 0.126 100.7)
XYZxyz(36.0121, 40.0738, 10.8381)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB41 #4151BB
analogous
#BB6E41 #BBAB41 #8EBB41
triadic
#BBAB41 #41BBAB #AB41BB
tetradic
#BBAB41 #41BB6E #4151BB #BB418E
square
#BBAB41 #41BB6E #4151BB #BB418E
split-complementary
#BBAB41 #418EBB #6E41BB
monochromatic
#605821 #8E8131 #BBAB41 #CCC06D #DCD39A

Accessibility & contrast

On white

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

On black

9.01
#BBAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB41
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB41#FFFFFF#000000##000000
##BBAB411.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#BFAD47
Tritanopia (blue-blind)
#C99F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab41;
/* rgb */ color: rgb(187, 171, 65);
/* oklch */ color: oklch(73.5% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#d3c37b',
    500: '#bbab41',
    950: '#000000',
  },
}
SCSS
$custom: #bbab41;
$custom-light: #d3c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab41",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 52.131,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73493,
    "c": 0.12625,
    "h": 100.7
  },
  "luminance": 0.40072
}

Semantic roles & 50–950 ramp

primary
#BBAB41
secondary
#9097C8
accent
#62D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BBAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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