#BBC242#BBC242

#BBC242 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.148 H 112.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#BBC242
RGBrgb(187, 194, 66)
HSLhsl(63, 51%, 51%)
HSVhsv(63, 66%, 76%)
CMYKcmyk(3.6%, 0%, 66%, 23.9%)
CIE-LABlab(75.79, -18.55, 60.88)
CIE-LCHlch(75.79, 63.64, 106.95°)
OKLaboklab(78.49% -0.0564 0.1371)
OKLCHoklch(78.49% 0.148 112.4)
XYZxyz(40.7698, 49.5426, 12.5682)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC242 #4942C2
analogous
#C28942 #BBC242 #7BC242
triadic
#BBC242 #42BBC2 #C242BB
tetradic
#BBC242 #42C289 #4942C2 #C2427B
square
#BBC242 #42C289 #4942C2 #C2427B
split-complementary
#BBC242 #427BC2 #8942C2
monochromatic
#646822 #919631 #BBC242 #CCD170 #DCE09F

Accessibility & contrast

On white

1.93
#BBC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#BBC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC242
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC242#FFFFFF#000000##000000
##BBC2421.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#D1BC4B
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc242;
/* rgb */ color: rgb(187, 194, 66);
/* oklch */ color: oklch(78.5% 0.148 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d47d',
    500: '#bbc242',
    950: '#000000',
  },
}
SCSS
$custom: #bbc242;
$custom-light: #d3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc242",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 63.281,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78489,
    "c": 0.14829,
    "h": 112.4
  },
  "luminance": 0.49542
}

Semantic roles & 50–950 ramp

primary
#BBC242
secondary
#9794CC
accent
#4DDB55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BBC242

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

Preview Lab → · Contrast checker → · Palette generator →

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