#BBC03B#BBC03B

#BBC03B is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.151 H 111.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#BBC03B
RGBrgb(187, 192, 59)
HSLhsl(62, 53%, 49%)
HSVhsv(62, 69%, 75%)
CMYKcmyk(2.6%, 0%, 69.3%, 24.7%)
CIE-LABlab(75.19, -17.95, 62.96)
CIE-LCHlch(75.19, 65.47, 105.91°)
OKLaboklab(78% -0.0554 0.1404)
OKLCHoklch(78% 0.151 111.6)
XYZxyz(40.1338, 48.5808, 11.3997)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC03B #403BC0
analogous
#C0833B #BBC03B #78C03B
triadic
#BBC03B #3BBBC0 #C03BBB
tetradic
#BBC03B #3BC083 #403BC0 #C03B78
square
#BBC03B #3BC083 #403BC0 #C03B78
split-complementary
#BBC03B #3B78C0 #833BC0
monochromatic
#60621E #8D912D #BBC03B #CDD168 #DCDF97

Accessibility & contrast

On white

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

On black

10.72
#BBC03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC03B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC03B#FFFFFF#000000##000000
##BBC03B1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB725
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#C8B4A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bbc03b;
/* rgb */ color: rgb(187, 192, 59);
/* oklch */ color: oklch(78.0% 0.151 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d279',
    500: '#bbc03b',
    950: '#000000',
  },
}
SCSS
$custom: #bbc03b;
$custom-light: #d3d279;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc03b",
  "rgb": {
    "r": 187,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 62.256,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77995,
    "c": 0.15093,
    "h": 111.6
  },
  "luminance": 0.4858
}

Semantic roles & 50–950 ramp

primary
#BBC03B
secondary
#8F8CCA
accent
#4BDC51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BBC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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