#BBAB3A#BBAB3A

#BBAB3A 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#BBAB3A
RGBrgb(187, 171, 58)
HSLhsl(53, 53%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.6%, 69%, 26.7%)
CIE-LABlab(69.47, -7.23, 57.62)
CIE-LCHlch(69.47, 58.07, 97.15°)
OKLaboklab(73.43% -0.0253 0.1289)
OKLCHoklch(73.43% 0.131 101.1)
XYZxyz(35.8217, 39.9977, 9.8356)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB3A #3A4ABB
analogous
#BB6A3A #BBAB3A #8ABB3A
triadic
#BBAB3A #3ABBAB #AB3ABB
tetradic
#BBAB3A #3ABB6A #3A4ABB #BB3A8A
square
#BBAB3A #3ABB6A #3A4ABB #BB3A8A
split-complementary
#BBAB3A #3A8ABB #6A3ABB
monochromatic
#5E561D #8C802C #BBAB3A #CFC163 #DDD492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB3A#FFFFFF#000000##000000
##BBAB3A1.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)
#BBA62A
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab3a;
/* rgb */ color: rgb(187, 171, 58);
/* oklch */ color: oklch(73.4% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#d3c377',
    500: '#bbab3a',
    950: '#000000',
  },
}
SCSS
$custom: #bbab3a;
$custom-light: #d3c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab3a",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 52.558,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73433,
    "c": 0.13141,
    "h": 101.1
  },
  "luminance": 0.39996
}

Semantic roles & 50–950 ramp

primary
#BBAB3A
secondary
#8890C8
accent
#5EDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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