#BBAC3A#BBAC3A

#BBAC3A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.6% C 0.132 H 101.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BBAC3A
RGBrgb(187, 172, 58)
HSLhsl(53, 53%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8%, 69%, 26.7%)
CIE-LABlab(69.74, -7.76, 57.89)
CIE-LCHlch(69.74, 58.41, 97.63°)
OKLaboklab(73.65% -0.0268 0.1295)
OKLCHoklch(73.65% 0.132 101.7)
XYZxyz(36.0113, 40.3769, 9.8988)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAC3A #3A49BB
analogous
#BB6B3A #BBAC3A #89BB3A
triadic
#BBAC3A #3ABBAC #AC3ABB
tetradic
#BBAC3A #3ABB6B #3A49BB #BB3A89
square
#BBAC3A #3ABB6B #3A49BB #BB3A89
split-complementary
#BBAC3A #3A89BB #6B3ABB
monochromatic
#5E561D #8C812C #BBAC3A #CFC263 #DDD592

Accessibility & contrast

On white

2.31
#BBAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#BBAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAC3A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAC3A#FFFFFF#000000##000000
##BBAC3A1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72A
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C9A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbac3a;
/* rgb */ color: rgb(187, 172, 58);
/* oklch */ color: oklch(73.6% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d3c477',
    500: '#bbac3a',
    950: '#000000',
  },
}
SCSS
$custom: #bbac3a;
$custom-light: #d3c477;
$custom-dark: #000000;
JSON
{
  "hex": "#bbac3a",
  "rgb": {
    "r": 187,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 53.023,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73647,
    "c": 0.13227,
    "h": 101.7
  },
  "luminance": 0.40375
}

Semantic roles & 50–950 ramp

primary
#BBAC3A
secondary
#8890C8
accent
#5DDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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