#BBBA2D#BBBA2D

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

Color values

HEX#BBBA2D
RGBrgb(187, 186, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0.5%, 75.9%, 26.7%)
CIE-LABlab(73.46, -15.58, 66.15)
CIE-LCHlch(73.46, 67.96, 103.25°)
OKLaboklab(76.59% -0.0501 0.1446)
OKLCHoklch(76.59% 0.153 109.1)
XYZxyz(38.5275, 45.8733, 9.3071)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA2D #2D2EBB
analogous
#BB732D #BBBA2D #75BB2D
triadic
#BBBA2D #2DBBBA #BA2DBB
tetradic
#BBBA2D #2DBB73 #2D2EBB #BB2D75
square
#BBBA2D #2DBB73 #2D2EBB #BB2D75
split-complementary
#BBBA2D #2D75BB #732DBB
monochromatic
#585815 #8A8921 #BBBA2D #D5D450 #E1E082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBBA2D#FFFFFF#000000##000000
##BBBA2D1.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)
#C9B207
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#C9AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bbba2d;
/* rgb */ color: rgb(187, 186, 45);
/* oklch */ color: oklch(76.6% 0.153 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3ce72',
    500: '#bbba2d',
    950: '#000000',
  },
}
SCSS
$custom: #bbba2d;
$custom-light: #d3ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba2d",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 59.577,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76589,
    "c": 0.15307,
    "h": 109.1
  },
  "luminance": 0.45872
}

Semantic roles & 50–950 ramp

primary
#BBBA2D
secondary
#7A7BCA
accent
#45E443
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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