#BBAC40#BBAC40

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

Color values

HEX#BBAC40
RGBrgb(187, 172, 64)
HSLhsl(53, 49%, 49%)
HSVhsv(53, 66%, 73%)
CMYKcmyk(0%, 8%, 65.8%, 26.7%)
CIE-LABlab(69.78, -7.41, 55.46)
CIE-LCHlch(69.78, 55.96, 97.61°)
OKLaboklab(73.7% -0.0252 0.1254)
OKLCHoklch(73.7% 0.128 101.4)
XYZxyz(36.1730, 40.4415, 10.7501)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAC40 #404FBB
analogous
#BB6F40 #BBAC40 #8DBB40
triadic
#BBAC40 #40BBAC #AC40BB
tetradic
#BBAC40 #40BB6F #404FBB #BB408D
square
#BBAC40 #40BB6F #404FBB #BB408D
split-complementary
#BBAC40 #408DBB #6F40BB
monochromatic
#605821 #8D8230 #BBAC40 #CDC16C #DCD499

Accessibility & contrast

On white

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

On black

9.09
#BBAC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAC40
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAC40#FFFFFF#000000##000000
##BBAC401.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#C9A096
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbac40;
/* rgb */ color: rgb(187, 172, 64);
/* oklch */ color: oklch(73.7% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#d3c47a',
    500: '#bbac40',
    950: '#000000',
  },
}
SCSS
$custom: #bbac40;
$custom-light: #d3c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbac40",
  "rgb": {
    "r": 187,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 52.683,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.12789,
    "h": 101.4
  },
  "luminance": 0.4044
}

Semantic roles & 50–950 ramp

primary
#BBAC40
secondary
#8F96C8
accent
#60D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BBAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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