#BBC940#BBC940

#BBC940 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.157 H 115.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#BBC940
RGBrgb(187, 201, 64)
HSLhsl(66, 56%, 52%)
HSVhsv(66, 68%, 79%)
CMYKcmyk(7%, 0%, 68.2%, 21.2%)
CIE-LABlab(77.70, -22.13, 63.60)
CIE-LCHlch(77.70, 67.34, 109.19°)
OKLaboklab(80.02% -0.0666 0.1425)
OKLCHoklch(80.02% 0.157 115.1)
XYZxyz(42.3067, 52.7090, 12.7947)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC940 #4E40C9
analogous
#C99240 #BBC940 #77C940
triadic
#BBC940 #40BBC9 #C940BB
tetradic
#BBC940 #40C992 #4E40C9 #C94077
square
#BBC940 #40C992 #4E40C9 #C94077
split-complementary
#BBC940 #4077C9 #9240C9
monochromatic
#676F1F #939F2D #BBC940 #CCD670 #DDE49F

Accessibility & contrast

On white

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

On black

11.54
#BBC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC940
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC940#FFFFFF#000000##000000
##BBC9401.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C7BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bbc940;
/* rgb */ color: rgb(187, 201, 64);
/* oklch */ color: oklch(80.0% 0.157 115.1);
Tailwind
colors: {
  custom: {
    50: '#d3d97d',
    500: '#bbc940',
    950: '#000000',
  },
}
SCSS
$custom: #bbc940;
$custom-light: #d3d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc940",
  "rgb": {
    "r": 187,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 66.131,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80018,
    "c": 0.15734,
    "h": 115.1
  },
  "luminance": 0.52708
}

Semantic roles & 50–950 ramp

primary
#BBC940
secondary
#3C3578
accent
#49DF58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC940

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

Preview Lab → · Contrast checker → · Palette generator →

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