#BBC122#BBC122

#BBC122 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.1% C 0.165 H 112.0°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#BBC122
RGBrgb(187, 193, 34)
HSLhsl(62, 70%, 45%)
HSVhsv(62, 82%, 76%)
CMYKcmyk(3.1%, 0%, 82.4%, 24.3%)
CIE-LABlab(75.34, -19.47, 70.89)
CIE-LCHlch(75.34, 73.52, 105.36°)
OKLaboklab(78.08% -0.0617 0.1529)
OKLCHoklch(78.08% 0.165 112)
XYZxyz(39.8536, 48.8213, 8.8371)
Luminance0.4882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC122 #2822C1
analogous
#C17822 #BBC122 #6CC122
triadic
#BBC122 #22BBC1 #C122BB
tetradic
#BBC122 #22C178 #2822C1 #C1226C
square
#BBC122 #22C178 #2822C1 #C1226C
split-complementary
#BBC122 #226CC1 #7822C1
monochromatic
#565910 #898D19 #BBC122 #D8DE42 #E3E776

Accessibility & contrast

On white

1.95
#BBC122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#BBC122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC122
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC122#FFFFFF#000000##000000
##BBC1221.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D1BB33
Tritanopia (blue-blind)
#C8B5A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc122;
/* rgb */ color: rgb(187, 193, 34);
/* oklch */ color: oklch(78.1% 0.165 112.0);
Tailwind
colors: {
  custom: {
    50: '#d4d36e',
    500: '#bbc122',
    950: '#000000',
  },
}
SCSS
$custom: #bbc122;
$custom-light: #d4d36e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc122",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 34
  },
  "hsl": {
    "h": 62.264,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.78075,
    "c": 0.16485,
    "h": 112
  },
  "luminance": 0.4882
}

Semantic roles & 50–950 ramp

primary
#BBC122
secondary
#7471CE
accent
#3BED42
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BBC122

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

Preview Lab → · Contrast checker → · Palette generator →

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