#BBAB3B#BBAB3B

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

Color values

HEX#BBAB3B
RGBrgb(187, 171, 59)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 8.6%, 68.4%, 26.7%)
CIE-LABlab(69.48, -7.18, 57.22)
CIE-LCHlch(69.48, 57.67, 97.15°)
OKLaboklab(73.44% -0.0251 0.1283)
OKLCHoklch(73.44% 0.131 101.1)
XYZxyz(35.8474, 40.0079, 9.9709)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB3B #3B4BBB
analogous
#BB6B3B #BBAB3B #8BBB3B
triadic
#BBAB3B #3BBBAB #AB3BBB
tetradic
#BBAB3B #3BBB6B #3B4BBB #BB3B8B
square
#BBAB3B #3BBB6B #3B4BBB #BB3B8B
split-complementary
#BBAB3B #3B8BBB #6B3BBB
monochromatic
#5E561E #8C802C #BBAB3B #CEC165 #DDD493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB3B#FFFFFF#000000##000000
##BBAB3B1.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)
#BBA62B
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab3b;
/* rgb */ color: rgb(187, 171, 59);
/* oklch */ color: oklch(73.4% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#d3c377',
    500: '#bbab3b',
    950: '#000000',
  },
}
SCSS
$custom: #bbab3b;
$custom-light: #d3c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab3b",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 52.5,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73441,
    "c": 0.1307,
    "h": 101.1
  },
  "luminance": 0.40006
}

Semantic roles & 50–950 ramp

primary
#BBAB3B
secondary
#8A91C8
accent
#5EDB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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