#BBAB3C#BBAB3C

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

Color values

HEX#BBAB3C
RGBrgb(187, 171, 60)
HSLhsl(52, 51%, 48%)
HSVhsv(52, 68%, 73%)
CMYKcmyk(0%, 8.6%, 67.9%, 26.7%)
CIE-LABlab(69.48, -7.12, 56.82)
CIE-LCHlch(69.48, 57.27, 97.14°)
OKLaboklab(73.45% -0.0248 0.1276)
OKLCHoklch(73.45% 0.13 101)
XYZxyz(35.8736, 40.0184, 10.1088)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB3C #3C4CBB
analogous
#BB6B3C #BBAB3C #8BBB3C
triadic
#BBAB3C #3CBBAB #AB3CBB
tetradic
#BBAB3C #3CBB6B #3C4CBB #BB3C8B
square
#BBAB3C #3CBB6B #3C4CBB #BB3C8B
split-complementary
#BBAB3C #3C8BBB #6B3CBB
monochromatic
#5E561E #8D812D #BBAB3C #CEC166 #DDD495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB3C#FFFFFF#000000##000000
##BBAB3C1.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)
#BBA62D
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#C99F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab3c;
/* rgb */ color: rgb(187, 171, 60);
/* oklch */ color: oklch(73.4% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d3c378',
    500: '#bbab3c',
    950: '#000000',
  },
}
SCSS
$custom: #bbab3c;
$custom-light: #d3c378;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab3c",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 52.441,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73449,
    "c": 0.12999,
    "h": 101
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#BBAB3C
secondary
#8B92C8
accent
#5FDB4D
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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