#BBAB39#BBAB39

#BBAB39 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.4% C 0.132 H 101.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BBAB39
RGBrgb(187, 171, 57)
HSLhsl(53, 53%, 48%)
HSVhsv(53, 70%, 73%)
CMYKcmyk(0%, 8.6%, 69.5%, 26.7%)
CIE-LABlab(69.46, -7.28, 58.01)
CIE-LCHlch(69.46, 58.47, 97.16°)
OKLaboklab(73.43% -0.0256 0.1296)
OKLCHoklch(73.43% 0.132 101.2)
XYZxyz(35.7965, 39.9876, 9.7029)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB39 #3949BB
analogous
#BB6A39 #BBAB39 #8ABB39
triadic
#BBAB39 #39BBAB #AB39BB
tetradic
#BBAB39 #39BB6A #3949BB #BB398A
square
#BBAB39 #39BB6A #3949BB #BB398A
split-complementary
#BBAB39 #398ABB #6A39BB
monochromatic
#5D551C #8C802B #BBAB39 #CFC262 #DDD491

Accessibility & contrast

On white

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

On black

9.00
#BBAB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB39
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB39#FFFFFF#000000##000000
##BBAB391.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab39;
/* rgb */ color: rgb(187, 171, 57);
/* oklch */ color: oklch(73.4% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#d3c376',
    500: '#bbab39',
    950: '#000000',
  },
}
SCSS
$custom: #bbab39;
$custom-light: #d3c376;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab39",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 52.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.13211,
    "h": 101.2
  },
  "luminance": 0.39986
}

Semantic roles & 50–950 ramp

primary
#BBAB39
secondary
#878FC8
accent
#5DDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB39

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

Preview Lab → · Contrast checker → · Palette generator →

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