#BBC338#BBC338

#BBC338 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.6% C 0.156 H 112.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#BBC338
RGBrgb(187, 195, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 76%)
CMYKcmyk(4.1%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.00, -19.60, 64.84)
CIE-LCHlch(76.00, 67.74, 106.82°)
OKLaboklab(78.64% -0.0603 0.1438)
OKLCHoklch(78.64% 0.156 112.8)
XYZxyz(40.7237, 49.8814, 11.2235)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC338 #4038C3
analogous
#C38638 #BBC338 #76C338
triadic
#BBC338 #38BBC3 #C338BB
tetradic
#BBC338 #38C386 #4038C3 #C33876
square
#BBC338 #38C386 #4038C3 #C33876
split-complementary
#BBC338 #3876C3 #8638C3
monochromatic
#60641D #8D932A #BBC338 #CDD365 #DCE195

Accessibility & contrast

On white

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

On black

10.98
#BBC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC338
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC338#FFFFFF#000000##000000
##BBC3381.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1F
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C8B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc338;
/* rgb */ color: rgb(187, 195, 56);
/* oklch */ color: oklch(78.6% 0.156 112.8);
Tailwind
colors: {
  custom: {
    50: '#d3d578',
    500: '#bbc338',
    950: '#000000',
  },
}
SCSS
$custom: #bbc338;
$custom-light: #d3d578;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc338",
  "rgb": {
    "r": 187,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 63.453,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78635,
    "c": 0.15597,
    "h": 112.8
  },
  "luminance": 0.49881
}

Semantic roles & 50–950 ramp

primary
#BBC338
secondary
#8F8BCC
accent
#49DF52
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#151409
muted
#83837B

Preview Lab

Preview with #BBC338

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

Preview Lab → · Contrast checker → · Palette generator →

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