#BBC939#BBC939

#BBC939 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.162 H 115.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#BBC939
RGBrgb(187, 201, 57)
HSLhsl(66, 57%, 51%)
HSVhsv(66, 72%, 79%)
CMYKcmyk(7%, 0%, 71.6%, 21.2%)
CIE-LABlab(77.66, -22.50, 66.10)
CIE-LCHlch(77.66, 69.82, 108.80°)
OKLaboklab(79.97% -0.0683 0.1467)
OKLCHoklch(79.97% 0.162 115)
XYZxyz(42.1198, 52.6342, 11.8107)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC939 #4739C9
analogous
#C98F39 #BBC939 #73C939
triadic
#BBC939 #39BBC9 #C939BB
tetradic
#BBC939 #39C98F #4739C9 #C93973
square
#BBC939 #39C98F #4739C9 #C93973
split-complementary
#BBC939 #3973C9 #8F39C9
monochromatic
#636B1D #909B2A #BBC939 #CCD669 #DCE399

Accessibility & contrast

On white

1.82
#BBC939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#BBC939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC939
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC939#FFFFFF#000000##000000
##BBC9391.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1E
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#C7BDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc939;
/* rgb */ color: rgb(187, 201, 57);
/* oklch */ color: oklch(80.0% 0.162 115.0);
Tailwind
colors: {
  custom: {
    50: '#d3d979',
    500: '#bbc939',
    950: '#000000',
  },
}
SCSS
$custom: #bbc939;
$custom-light: #d3d979;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc939",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 65.833,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79969,
    "c": 0.16178,
    "h": 115
  },
  "luminance": 0.52633
}

Semantic roles & 50–950 ramp

primary
#BBC939
secondary
#383274
accent
#47E056
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC939

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

Preview Lab → · Contrast checker → · Palette generator →

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