#BBC918#BBC918

#BBC918 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#BBC918
RGBrgb(187, 201, 24)
HSLhsl(65, 79%, 44%)
HSVhsv(65, 88%, 79%)
CMYKcmyk(7%, 0%, 88.1%, 21.2%)
CIE-LABlab(77.52, -23.65, 74.81)
CIE-LCHlch(77.52, 78.46, 107.55°)
OKLaboklab(79.82% -0.0738 0.1599)
OKLCHoklch(79.82% 0.176 114.8)
XYZxyz(41.5464, 52.4048, 8.7905)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC918 #2618C9
analogous
#C97F18 #BBC918 #63C918
triadic
#BBC918 #18BBC9 #C918BB
tetradic
#BBC918 #18C97F #2618C9 #C91863
square
#BBC918 #18C97F #2618C9 #C91863
split-complementary
#BBC918 #1863C9 #7F18C9
monochromatic
#555C0B #889211 #BBC918 #D9E737 #E4EE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBC918#FFFFFF#000000##000000
##BBC9181.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)
#D8C12F
Tritanopia (blue-blind)
#C8BDAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bbc918;
/* rgb */ color: rgb(187, 201, 24);
/* oklch */ color: oklch(79.8% 0.176 114.8);
Tailwind
colors: {
  custom: {
    50: '#d4d96c',
    500: '#bbc918',
    950: '#000000',
  },
}
SCSS
$custom: #bbc918;
$custom-light: #d4d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc918",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 24
  },
  "hsl": {
    "h": 64.746,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.79816,
    "c": 0.17607,
    "h": 114.8
  },
  "luminance": 0.52404
}

Semantic roles & 50–950 ramp

primary
#BBC918
secondary
#241E67
accent
#33F542
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BBC918

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

Preview Lab → · Contrast checker → · Palette generator →

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