#BBBF40#BBBF40

#BBBF40 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.8% C 0.146 H 111.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#BBBF40
RGBrgb(187, 191, 64)
HSLhsl(62, 50%, 50%)
HSVhsv(62, 66%, 75%)
CMYKcmyk(2.1%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.95, -17.17, 60.81)
CIE-LCHlch(74.95, 63.18, 105.77°)
OKLaboklab(77.81% -0.0528 0.1367)
OKLCHoklch(77.81% 0.146 111.1)
XYZxyz(40.0510, 48.1976, 12.0428)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBF40 #4440BF
analogous
#BF8440 #BBBF40 #7BBF40
triadic
#BBBF40 #40BBBF #BF40BB
tetradic
#BBBF40 #40BF84 #4440BF #BF407B
square
#BBBF40 #40BF84 #4440BF #BF407B
split-complementary
#BBBF40 #407BBF #8440BF
monochromatic
#616321 #8E9131 #BBBF40 #CBCE6E #DCDE9C

Accessibility & contrast

On white

1.97
#BBBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#BBBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBF40
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBF40#FFFFFF#000000##000000
##BBBF401.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72E
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#C8B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bbbf40;
/* rgb */ color: rgb(187, 191, 64);
/* oklch */ color: oklch(77.8% 0.146 111.1);
Tailwind
colors: {
  custom: {
    50: '#d3d27c',
    500: '#bbbf40',
    950: '#000000',
  },
}
SCSS
$custom: #bbbf40;
$custom-light: #d3d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbf40",
  "rgb": {
    "r": 187,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 61.89,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77814,
    "c": 0.14649,
    "h": 111.1
  },
  "luminance": 0.48197
}

Semantic roles & 50–950 ramp

primary
#BBBF40
secondary
#9391CA
accent
#4ED953
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BBBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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