#BBAC3B#BBAC3B

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

Color values

HEX#BBAC3B
RGBrgb(187, 172, 59)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 8%, 68.4%, 26.7%)
CIE-LABlab(69.74, -7.70, 57.50)
CIE-LCHlch(69.74, 58.01, 97.63°)
OKLaboklab(73.66% -0.0266 0.1289)
OKLCHoklch(73.66% 0.132 101.7)
XYZxyz(36.0370, 40.3872, 10.0341)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAC3B #3B4ABB
analogous
#BB6C3B #BBAC3B #8ABB3B
triadic
#BBAC3B #3BBBAC #AC3BBB
tetradic
#BBAC3B #3BBB6C #3B4ABB #BB3B8A
square
#BBAC3B #3BBB6C #3B4ABB #BB3B8A
split-complementary
#BBAC3B #3B8ABB #6C3BBB
monochromatic
#5E561E #8C812C #BBAC3B #CEC265 #DDD493

Accessibility & contrast

On white

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

On black

9.08
#BBAC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAC3B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAC3B#FFFFFF#000000##000000
##BBAC3B1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbac3b;
/* rgb */ color: rgb(187, 172, 59);
/* oklch */ color: oklch(73.7% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d3c477',
    500: '#bbac3b',
    950: '#000000',
  },
}
SCSS
$custom: #bbac3b;
$custom-light: #d3c477;
$custom-dark: #000000;
JSON
{
  "hex": "#bbac3b",
  "rgb": {
    "r": 187,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 52.969,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73655,
    "c": 0.13156,
    "h": 101.7
  },
  "luminance": 0.40386
}

Semantic roles & 50–950 ramp

primary
#BBAC3B
secondary
#8A91C8
accent
#5DDB4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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