#BBC917#BBC917

#BBC917 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.176 H 114.8°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#BBC917
RGBrgb(187, 201, 23)
HSLhsl(65, 79%, 44%)
HSVhsv(65, 89%, 79%)
CMYKcmyk(7%, 0%, 88.6%, 21.2%)
CIE-LABlab(77.52, -23.67, 74.98)
CIE-LCHlch(77.52, 78.63, 107.52°)
OKLaboklab(79.81% -0.0739 0.1601)
OKLCHoklch(79.81% 0.176 114.8)
XYZxyz(41.5362, 52.4008, 8.7367)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC917 #2517C9
analogous
#C97E17 #BBC917 #62C917
triadic
#BBC917 #17BBC9 #C917BB
tetradic
#BBC917 #17C97E #2517C9 #C91762
square
#BBC917 #17C97E #2517C9 #C91762
split-complementary
#BBC917 #1762C9 #7E17C9
monochromatic
#555B0A #889211 #BBC917 #DAE835 #E4EE6C

Accessibility & contrast

On white

1.83
#BBC917 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#BBC917 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC917
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC917#FFFFFF#000000##000000
##BBC9171.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D8C12E
Tritanopia (blue-blind)
#C8BDAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bbc917;
/* rgb */ color: rgb(187, 201, 23);
/* oklch */ color: oklch(79.8% 0.176 114.8);
Tailwind
colors: {
  custom: {
    50: '#d4d96c',
    500: '#bbc917',
    950: '#000000',
  },
}
SCSS
$custom: #bbc917;
$custom-light: #d4d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc917",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 23
  },
  "hsl": {
    "h": 64.719,
    "s": 79.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.79813,
    "c": 0.17633,
    "h": 114.8
  },
  "luminance": 0.524
}

Semantic roles & 50–950 ramp

primary
#BBC917
secondary
#231D67
accent
#32F641
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BBC917

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

Preview Lab → · Contrast checker → · Palette generator →

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