#BBC02F#BBC02F

#BBC02F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.9% C 0.158 H 111.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#BBC02F
RGBrgb(187, 192, 47)
HSLhsl(62, 61%, 47%)
HSVhsv(62, 76%, 75%)
CMYKcmyk(2.6%, 0%, 75.5%, 24.7%)
CIE-LABlab(75.12, -18.51, 67.04)
CIE-LCHlch(75.12, 69.54, 105.44°)
OKLaboklab(77.92% -0.0581 0.1469)
OKLCHoklch(77.92% 0.158 111.6)
XYZxyz(39.8576, 48.4703, 9.9449)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC02F #342FC0
analogous
#C07D2F #BBC02F #73C02F
triadic
#BBC02F #2FBBC0 #C02FBB
tetradic
#BBC02F #2FC07D #342FC0 #C02F73
square
#BBC02F #2FC07D #342FC0 #C02F73
split-complementary
#BBC02F #2F73C0 #7D2FC0
monochromatic
#5B5E17 #8B8F23 #BBC02F #D1D656 #DFE288

Accessibility & contrast

On white

1.96
#BBC02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#BBC02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC02F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC02F#FFFFFF#000000##000000
##BBC02F1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB709
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#C8B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bbc02f;
/* rgb */ color: rgb(187, 192, 47);
/* oklch */ color: oklch(77.9% 0.158 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d273',
    500: '#bbc02f',
    950: '#000000',
  },
}
SCSS
$custom: #bbc02f;
$custom-light: #d3d273;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc02f",
  "rgb": {
    "r": 187,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 62.069,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77918,
    "c": 0.15798,
    "h": 111.6
  },
  "luminance": 0.48469
}

Semantic roles & 50–950 ramp

primary
#BBC02F
secondary
#827FCB
accent
#44E44A
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC02F

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

Preview Lab → · Contrast checker → · Palette generator →

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