#BBC042#BBC042

#BBC042 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.146 H 111.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#BBC042
RGBrgb(187, 192, 66)
HSLhsl(62, 50%, 51%)
HSVhsv(62, 66%, 75%)
CMYKcmyk(2.6%, 0%, 65.6%, 24.7%)
CIE-LABlab(75.24, -17.55, 60.31)
CIE-LCHlch(75.24, 62.81, 106.23°)
OKLaboklab(78.05% -0.0536 0.1359)
OKLCHoklch(78.05% 0.146 111.5)
XYZxyz(40.3277, 48.6584, 12.4208)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC042 #4742C0
analogous
#C08642 #BBC042 #7CC042
triadic
#BBC042 #42BBC0 #C042BB
tetradic
#BBC042 #42C086 #4742C0 #C0427C
square
#BBC042 #42C086 #4742C0 #C0427C
split-complementary
#BBC042 #427CC0 #8642C0
monochromatic
#636622 #909431 #BBC042 #CCCF70 #DCDF9E

Accessibility & contrast

On white

1.96
#BBC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#BBC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC042
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC042#FFFFFF#000000##000000
##BBC0421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB830
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bbc042;
/* rgb */ color: rgb(187, 192, 66);
/* oklch */ color: oklch(78.0% 0.146 111.5);
Tailwind
colors: {
  custom: {
    50: '#d2d27d',
    500: '#bbc042',
    950: '#000000',
  },
}
SCSS
$custom: #bbc042;
$custom-light: #d2d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc042",
  "rgb": {
    "r": 187,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 62.381,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78049,
    "c": 0.14612,
    "h": 111.5
  },
  "luminance": 0.48657
}

Semantic roles & 50–950 ramp

primary
#BBC042
secondary
#9593CB
accent
#4EDA54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BBC042

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

Preview Lab → · Contrast checker → · Palette generator →

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