#BBAB4A#BBAB4A

#BBAB4A is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.119 H 100.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BBAB4A
RGBrgb(187, 171, 74)
HSLhsl(52, 45%, 51%)
HSVhsv(52, 60%, 73%)
CMYKcmyk(0%, 8.6%, 60.4%, 26.7%)
CIE-LABlab(69.60, -6.23, 50.85)
CIE-LCHlch(69.60, 51.23, 96.98°)
OKLaboklab(73.58% -0.0207 0.1171)
OKLCHoklch(73.58% 0.119 100)
XYZxyz(36.2939, 40.1865, 12.3223)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB4A #4A5ABB
analogous
#BB724A #BBAB4A #92BB4A
triadic
#BBAB4A #4ABBAB #AB4ABB
tetradic
#BBAB4A #4ABB72 #4A5ABB #BB4A92
square
#BBAB4A #4ABB72 #4A5ABB #BB4A92
split-complementary
#BBAB4A #4A92BB #724ABB
monochromatic
#655C26 #918437 #BBAB4A #CCC076 #DCD4A3

Accessibility & contrast

On white

2.32
#BBAB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BBAB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAB4A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAB4A#FFFFFF#000000##000000
##BBAB4A1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA740
Deuteranopia (green-blind)
#BEAD4F
Tritanopia (blue-blind)
#C8A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab4a;
/* rgb */ color: rgb(187, 171, 74);
/* oklch */ color: oklch(73.6% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#d2c380',
    500: '#bbab4a',
    950: '#000000',
  },
}
SCSS
$custom: #bbab4a;
$custom-light: #d2c380;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab4a",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 51.504,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73582,
    "c": 0.11886,
    "h": 100
  },
  "luminance": 0.40185
}

Semantic roles & 50–950 ramp

primary
#BBAB4A
secondary
#979FC9
accent
#65D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #BBAB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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