#BBBA2F#BBBA2F

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

Color values

HEX#BBBA2F
RGBrgb(187, 186, 47)
HSLhsl(60, 60%, 46%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0%, 0.5%, 74.9%, 26.7%)
CIE-LABlab(73.47, -15.50, 65.51)
CIE-LCHlch(73.47, 67.32, 103.31°)
OKLaboklab(76.6% -0.0497 0.1437)
OKLCHoklch(76.6% 0.152 109.1)
XYZxyz(38.5670, 45.8890, 9.5147)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBA2F #2F30BB
analogous
#BB742F #BBBA2F #76BB2F
triadic
#BBBA2F #2FBBBA #BA2FBB
tetradic
#BBBA2F #2FBB74 #2F30BB #BB2F76
square
#BBBA2F #2FBB74 #2F30BB #BB2F76
split-complementary
#BBBA2F #2F76BB #742FBB
monochromatic
#595916 #8A8923 #BBBA2F #D4D353 #E0DF84

Accessibility & contrast

On white

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

On black

10.18
#BBBA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBA2F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBA2F#FFFFFF#000000##000000
##BBBA2F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbba2f;
/* rgb */ color: rgb(187, 186, 47);
/* oklch */ color: oklch(76.6% 0.152 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3ce73',
    500: '#bbba2f',
    950: '#000000',
  },
}
SCSS
$custom: #bbba2f;
$custom-light: #d3ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbba2f",
  "rgb": {
    "r": 187,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 59.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76601,
    "c": 0.15202,
    "h": 109.1
  },
  "luminance": 0.45888
}

Semantic roles & 50–950 ramp

primary
#BBBA2F
secondary
#7C7DC9
accent
#46E345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BBBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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