#BBC840#BBC840

#BBC840 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.156 H 114.7°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#BBC840
RGBrgb(187, 200, 64)
HSLhsl(66, 55%, 52%)
HSVhsv(66, 68%, 78%)
CMYKcmyk(6.5%, 0%, 68%, 21.6%)
CIE-LABlab(77.43, -21.64, 63.32)
CIE-LCHlch(77.43, 66.91, 108.87°)
OKLaboklab(79.8% -0.0653 0.1419)
OKLCHoklch(79.8% 0.156 114.7)
XYZxyz(42.0743, 52.2442, 12.7172)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC840 #4D40C8
analogous
#C89140 #BBC840 #77C840
triadic
#BBC840 #40BBC8 #C840BB
tetradic
#BBC840 #40C891 #4D40C8 #C84077
square
#BBC840 #40C891 #4D40C8 #C84077
split-complementary
#BBC840 #4077C8 #9140C8
monochromatic
#666E20 #939D2D #BBC840 #CCD670 #DDE39F

Accessibility & contrast

On white

1.83
#BBC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#BBC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC840
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC840#FFFFFF#000000##000000
##BBC8401.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#C7BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bbc840;
/* rgb */ color: rgb(187, 200, 64);
/* oklch */ color: oklch(79.8% 0.156 114.7);
Tailwind
colors: {
  custom: {
    50: '#d3d87d',
    500: '#bbc840',
    950: '#000000',
  },
}
SCSS
$custom: #bbc840;
$custom-light: #d3d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc840",
  "rgb": {
    "r": 187,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 65.735,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.15623,
    "h": 114.7
  },
  "luminance": 0.52244
}

Semantic roles & 50–950 ramp

primary
#BBC840
secondary
#3B3577
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC840

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

Preview Lab → · Contrast checker → · Palette generator →

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