#BBC231#BBC231

#BBC231 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.4% C 0.159 H 112.4°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#BBC231
RGBrgb(187, 194, 49)
HSLhsl(63, 60%, 48%)
HSVhsv(63, 75%, 76%)
CMYKcmyk(3.6%, 0%, 74.7%, 23.9%)
CIE-LABlab(75.68, -19.42, 66.91)
CIE-LCHlch(75.68, 69.68, 106.19°)
OKLaboklab(78.37% -0.0605 0.147)
OKLCHoklch(78.37% 0.159 112.4)
XYZxyz(40.3410, 49.3711, 10.3096)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC231 #3831C2
analogous
#C28131 #BBC231 #72C231
triadic
#BBC231 #31BBC2 #C231BB
tetradic
#BBC231 #31C281 #3831C2 #C23172
square
#BBC231 #31C281 #3831C2 #C23172
split-complementary
#BBC231 #3172C2 #8131C2
monochromatic
#5D6018 #8C9125 #BBC231 #D0D65B #DEE28C

Accessibility & contrast

On white

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

On black

10.87
#BBC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC231
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC231#FFFFFF#000000##000000
##BBC2311.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90E
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#C8B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc231;
/* rgb */ color: rgb(187, 194, 49);
/* oklch */ color: oklch(78.4% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d474',
    500: '#bbc231',
    950: '#000000',
  },
}
SCSS
$custom: #bbc231;
$custom-light: #d3d474;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc231",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 62.897,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7837,
    "c": 0.15895,
    "h": 112.4
  },
  "luminance": 0.4937
}

Semantic roles & 50–950 ramp

primary
#BBC231
secondary
#8683CC
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC231

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

Preview Lab → · Contrast checker → · Palette generator →

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