#BBAB3F#BBAB3F

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

Color values

HEX#BBAB3F
RGBrgb(187, 171, 63)
HSLhsl(52, 50%, 49%)
HSVhsv(52, 66%, 73%)
CMYKcmyk(0%, 8.6%, 66.3%, 26.7%)
CIE-LABlab(69.51, -6.95, 55.60)
CIE-LCHlch(69.51, 56.03, 97.12°)
OKLaboklab(73.47% -0.024 0.1255)
OKLCHoklch(73.47% 0.128 100.8)
XYZxyz(35.9551, 40.0510, 10.5384)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB3F #3F4FBB
analogous
#BB6D3F #BBAB3F #8DBB3F
triadic
#BBAB3F #3FBBAB #AB3FBB
tetradic
#BBAB3F #3FBB6D #3F4FBB #BB3F8D
square
#BBAB3F #3FBB6D #3F4FBB #BB3F8D
split-complementary
#BBAB3F #3F8DBB #6D3FBB
monochromatic
#5F5720 #8D8130 #BBAB3F #CDC06A #DCD498

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB3F#FFFFFF#000000##000000
##BBAB3F1.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)
#BBA631
Deuteranopia (green-blind)
#BFAD45
Tritanopia (blue-blind)
#C99F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab3f;
/* rgb */ color: rgb(187, 171, 63);
/* oklch */ color: oklch(73.5% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#d3c37a',
    500: '#bbab3f',
    950: '#000000',
  },
}
SCSS
$custom: #bbab3f;
$custom-light: #d3c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab3f",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 52.258,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73475,
    "c": 0.12777,
    "h": 100.8
  },
  "luminance": 0.40049
}

Semantic roles & 50–950 ramp

primary
#BBAB3F
secondary
#8E95C8
accent
#61D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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