#BBAB3E#BBAB3E

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

Color values

HEX#BBAB3E
RGBrgb(187, 171, 62)
HSLhsl(52, 50%, 49%)
HSVhsv(52, 67%, 73%)
CMYKcmyk(0%, 8.6%, 66.8%, 26.7%)
CIE-LABlab(69.50, -7.01, 56.01)
CIE-LCHlch(69.50, 56.45, 97.13°)
OKLaboklab(73.47% -0.0243 0.1262)
OKLCHoklch(73.47% 0.129 100.9)
XYZxyz(35.9275, 40.0400, 10.3925)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAB3E #3E4EBB
analogous
#BB6D3E #BBAB3E #8DBB3E
triadic
#BBAB3E #3EBBAB #AB3EBB
tetradic
#BBAB3E #3EBB6D #3E4EBB #BB3E8D
square
#BBAB3E #3EBB6D #3E4EBB #BB3E8D
split-complementary
#BBAB3E #3E8DBB #6D3EBB
monochromatic
#5F5720 #8D812F #BBAB3E #CDC069 #DCD497

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAB3E#FFFFFF#000000##000000
##BBAB3E1.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)
#BBA630
Deuteranopia (green-blind)
#BFAD44
Tritanopia (blue-blind)
#C99F95
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbab3e;
/* rgb */ color: rgb(187, 171, 62);
/* oklch */ color: oklch(73.5% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d3c379',
    500: '#bbab3e',
    950: '#000000',
  },
}
SCSS
$custom: #bbab3e;
$custom-light: #d3c379;
$custom-dark: #000000;
JSON
{
  "hex": "#bbab3e",
  "rgb": {
    "r": 187,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 52.32,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73466,
    "c": 0.12852,
    "h": 100.9
  },
  "luminance": 0.40038
}

Semantic roles & 50–950 ramp

primary
#BBAB3E
secondary
#8D94C8
accent
#60DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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