#BBC831#BBC831

#BBC831 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.7% C 0.165 H 114.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#BBC831
RGBrgb(187, 200, 49)
HSLhsl(65, 61%, 49%)
HSVhsv(65, 76%, 78%)
CMYKcmyk(6.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.34, -22.38, 68.45)
CIE-LCHlch(77.34, 72.02, 108.11°)
OKLaboklab(79.7% -0.0687 0.1503)
OKLCHoklch(79.7% 0.165 114.6)
XYZxyz(41.7034, 52.0959, 10.7638)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC831 #3E31C8
analogous
#C88A31 #BBC831 #6FC831
triadic
#BBC831 #31BBC8 #C831BB
tetradic
#BBC831 #31C88A #3E31C8 #C8316F
square
#BBC831 #31C88A #3E31C8 #C8316F
split-complementary
#BBC831 #316FC8 #8A31C8
monochromatic
#5F6619 #8D9725 #BBC831 #CDD85F #DCE490

Accessibility & contrast

On white

1.84
#BBC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#BBC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC831
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC831#FFFFFF#000000##000000
##BBC8311.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE09
Deuteranopia (green-blind)
#D6C03E
Tritanopia (blue-blind)
#C7BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bbc831;
/* rgb */ color: rgb(187, 200, 49);
/* oklch */ color: oklch(79.7% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#d3d875',
    500: '#bbc831',
    950: '#000000',
  },
}
SCSS
$custom: #bbc831;
$custom-light: #d3d875;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc831",
  "rgb": {
    "r": 187,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 65.166,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79698,
    "c": 0.1652,
    "h": 114.6
  },
  "luminance": 0.52095
}

Semantic roles & 50–950 ramp

primary
#BBC831
secondary
#332D70
accent
#44E452
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC831

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

Preview Lab → · Contrast checker → · Palette generator →

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