#BBAC30#BBAC30

#BBAC30 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.139 H 102.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BBAC30
RGBrgb(187, 172, 48)
HSLhsl(54, 59%, 46%)
HSVhsv(54, 74%, 73%)
CMYKcmyk(0%, 8%, 74.3%, 26.7%)
CIE-LABlab(69.67, -8.25, 61.61)
CIE-LCHlch(69.67, 62.16, 97.62°)
OKLaboklab(73.57% -0.0293 0.1356)
OKLCHoklch(73.57% 0.139 102.2)
XYZxyz(35.7812, 40.2848, 8.6867)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAC30 #303FBB
analogous
#BB6630 #BBAC30 #84BB30
triadic
#BBAC30 #30BBAC #AC30BB
tetradic
#BBAC30 #30BB66 #303FBB #BB3084
square
#BBAC30 #30BB66 #303FBB #BB3084
split-complementary
#BBAC30 #3084BB #6630BB
monochromatic
#5A5217 #8A7F23 #BBAC30 #D3C655 #E0D686

Accessibility & contrast

On white

2.32
#BBAC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BBAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAC30
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAC30#FFFFFF#000000##000000
##BBAC301.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA718
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#C9A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bbac30;
/* rgb */ color: rgb(187, 172, 48);
/* oklch */ color: oklch(73.6% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#d3c472',
    500: '#bbac30',
    950: '#000000',
  },
}
SCSS
$custom: #bbac30;
$custom-light: #d3c472;
$custom-dark: #000000;
JSON
{
  "hex": "#bbac30",
  "rgb": {
    "r": 187,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 53.525,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.13868,
    "h": 102.2
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#BBAC30
secondary
#7D86C9
accent
#56E245
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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