#BBC342#BBC342

#BBC342 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.7% C 0.149 H 112.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#BBC342
RGBrgb(187, 195, 66)
HSLhsl(64, 52%, 51%)
HSVhsv(64, 66%, 76%)
CMYKcmyk(4.1%, 0%, 66.2%, 23.5%)
CIE-LABlab(76.06, -19.05, 61.16)
CIE-LCHlch(76.06, 64.06, 107.30°)
OKLaboklab(78.71% -0.0578 0.1377)
OKLCHoklch(78.71% 0.149 112.8)
XYZxyz(40.9932, 49.9892, 12.6426)
Luminance0.4999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC342 #4A42C3
analogous
#C38A42 #BBC342 #7AC342
triadic
#BBC342 #42BBC3 #C342BB
tetradic
#BBC342 #42C38A #4A42C3 #C3427A
square
#BBC342 #42C38A #4A42C3 #C3427A
split-complementary
#BBC342 #427AC3 #8A42C3
monochromatic
#656921 #919830 #BBC342 #CCD270 #DCE09F

Accessibility & contrast

On white

1.91
#BBC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#BBC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC342
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC342#FFFFFF#000000##000000
##BBC3421.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#C7B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc342;
/* rgb */ color: rgb(187, 195, 66);
/* oklch */ color: oklch(78.7% 0.149 112.8);
Tailwind
colors: {
  custom: {
    50: '#d3d57d',
    500: '#bbc342',
    950: '#000000',
  },
}
SCSS
$custom: #bbc342;
$custom-light: #d3d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc342",
  "rgb": {
    "r": 187,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 63.721,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78709,
    "c": 0.14936,
    "h": 112.8
  },
  "luminance": 0.49988
}

Semantic roles & 50–950 ramp

primary
#BBC342
secondary
#9794CD
accent
#4DDB55
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #BBC342

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

Preview Lab → · Contrast checker → · Palette generator →

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