#BBBA2C#BBBA2C

#BBBA2C is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.154 H 109.1°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#BBBA2C
RGBrgb(187, 186, 44)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0.5%, 76.5%, 26.7%)
CIE-LABlab(73.46, -15.62, 66.45)
CIE-LCHlch(73.46, 68.27, 103.23°)
OKLaboklab(76.58% -0.0503 0.1451)
OKLCHoklch(76.58% 0.154 109.1)
XYZxyz(38.5085, 45.8657, 9.2069)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA2C #2C2DBB
analogous
#BB722C #BBBA2C #75BB2C
triadic
#BBBA2C #2CBBBA #BA2CBB
tetradic
#BBBA2C #2CBB72 #2C2DBB #BB2C75
square
#BBBA2C #2CBB72 #2C2DBB #BB2C75
split-complementary
#BBBA2C #2C75BB #722CBB
monochromatic
#585715 #898920 #BBBA2C #D6D54F #E1E080

Accessibility & contrast

On white

2.06
#BBBA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#BBBA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA2C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA2C#FFFFFF#000000##000000
##BBBA2C1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB203
Deuteranopia (green-blind)
#CBB638
Tritanopia (blue-blind)
#C9AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbba2c;
/* rgb */ color: rgb(187, 186, 44);
/* oklch */ color: oklch(76.6% 0.154 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3ce71',
    500: '#bbba2c',
    950: '#000000',
  },
}
SCSS
$custom: #bbba2c;
$custom-light: #d3ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba2c",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 59.58,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76584,
    "c": 0.15359,
    "h": 109.1
  },
  "luminance": 0.45864
}

Semantic roles & 50–950 ramp

primary
#BBBA2C
secondary
#7979CA
accent
#44E543
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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