#BBC331#BBC331

#BBC331 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.6% C 0.160 H 112.7°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#BBC331
RGBrgb(187, 195, 49)
HSLhsl(63, 60%, 48%)
HSVhsv(63, 75%, 76%)
CMYKcmyk(4.1%, 0%, 74.9%, 23.5%)
CIE-LABlab(75.96, -19.92, 67.17)
CIE-LCHlch(75.96, 70.06, 106.52°)
OKLaboklab(78.59% -0.0618 0.1475)
OKLCHoklch(78.59% 0.16 112.7)
XYZxyz(40.5643, 49.8177, 10.3841)
Luminance0.4982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC331 #3931C3
analogous
#C38231 #BBC331 #72C331
triadic
#BBC331 #31BBC3 #C331BB
tetradic
#BBC331 #31C382 #3931C3 #C33172
square
#BBC331 #31C382 #3931C3 #C33172
split-complementary
#BBC331 #3172C3 #8231C3
monochromatic
#5D6118 #8C9225 #BBC331 #CFD65B #DDE28C

Accessibility & contrast

On white

1.92
#BBC331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#BBC331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC331
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC331#FFFFFF#000000##000000
##BBC3311.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0D
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#C8B7A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc331;
/* rgb */ color: rgb(187, 195, 49);
/* oklch */ color: oklch(78.6% 0.160 112.7);
Tailwind
colors: {
  custom: {
    50: '#d3d475',
    500: '#bbc331',
    950: '#000000',
  },
}
SCSS
$custom: #bbc331;
$custom-light: #d3d475;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc331",
  "rgb": {
    "r": 187,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 63.288,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78591,
    "c": 0.15998,
    "h": 112.7
  },
  "luminance": 0.49817
}

Semantic roles & 50–950 ramp

primary
#BBC331
secondary
#8783CC
accent
#45E34D
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BBC331

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

Preview Lab → · Contrast checker → · Palette generator →

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