#BBC627#BBC627

#BBC627 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.2% C 0.168 H 113.8°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#BBC627
RGBrgb(187, 198, 39)
HSLhsl(64, 67%, 46%)
HSVhsv(64, 80%, 78%)
CMYKcmyk(5.6%, 0%, 80.3%, 22.4%)
CIE-LABlab(76.74, -21.78, 70.82)
CIE-LCHlch(76.74, 74.09, 107.09°)
OKLaboklab(79.2% -0.0678 0.1536)
OKLCHoklch(79.2% 0.168 113.8)
XYZxyz(41.0551, 51.1003, 9.6197)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC627 #3227C6
analogous
#C68227 #BBC627 #6CC627
triadic
#BBC627 #27BBC6 #C627BB
tetradic
#BBC627 #27C682 #3227C6 #C6276C
square
#BBC627 #27C682 #3227C6 #C6276C
split-complementary
#BBC627 #276CC6 #8227C6
monochromatic
#5A6013 #8B931D #BBC627 #D2DC4E #DFE681

Accessibility & contrast

On white

1.87
#BBC627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#BBC627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC627
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC627#FFFFFF#000000##000000
##BBC6271.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D5BF37
Tritanopia (blue-blind)
#C8BAA9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc627;
/* rgb */ color: rgb(187, 198, 39);
/* oklch */ color: oklch(79.2% 0.168 113.8);
Tailwind
colors: {
  custom: {
    50: '#d4d771',
    500: '#bbc627',
    950: '#000000',
  },
}
SCSS
$custom: #bbc627;
$custom-light: #d4d771;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc627",
  "rgb": {
    "r": 187,
    "g": 198,
    "b": 39
  },
  "hsl": {
    "h": 64.151,
    "s": 67.089,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79203,
    "c": 0.16785,
    "h": 113.8
  },
  "luminance": 0.51099
}

Semantic roles & 50–950 ramp

primary
#BBC627
secondary
#2B276B
accent
#3EEA4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC627

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

Preview Lab → · Contrast checker → · Palette generator →

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