#BBCB42#BBCB42

#BBCB42 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.158 H 115.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#BBCB42
RGBrgb(187, 203, 66)
HSLhsl(67, 57%, 53%)
HSVhsv(67, 67%, 80%)
CMYKcmyk(7.9%, 0%, 67.5%, 20.4%)
CIE-LABlab(78.27, -22.99, 63.41)
CIE-LCHlch(78.27, 67.45, 109.93°)
OKLaboklab(80.48% -0.0688 0.1425)
OKLCHoklch(80.48% 0.158 115.8)
XYZxyz(42.8339, 53.6706, 13.2562)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBCB42 #5242CB
analogous
#CB9642 #BBCB42 #77CB42
triadic
#BBCB42 #42BBCB #CB42BB
tetradic
#BBCB42 #42CB96 #5242CB #CB4277
square
#BBCB42 #42CB96 #5242CB #CB4277
split-complementary
#BBCB42 #4277CB #9642CB
monochromatic
#697320 #95A32D #BBCB42 #CCD872 #DEE5A2

Accessibility & contrast

On white

1.79
#BBCB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#BBCB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBCB42
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBCB42#FFFFFF#000000##000000
##BBCB421.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#C7C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bbcb42;
/* rgb */ color: rgb(187, 203, 66);
/* oklch */ color: oklch(80.5% 0.158 115.8);
Tailwind
colors: {
  custom: {
    50: '#d3da7e',
    500: '#bbcb42',
    950: '#000000',
  },
}
SCSS
$custom: #bbcb42;
$custom-light: #d3da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbcb42",
  "rgb": {
    "r": 187,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 67.007,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80477,
    "c": 0.15822,
    "h": 115.8
  },
  "luminance": 0.5367
}

Semantic roles & 50–950 ramp

primary
#BBCB42
secondary
#3E357C
accent
#48E059
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBCB42

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

Preview Lab → · Contrast checker → · Palette generator →

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