#BBC252#BBC252

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

Color values

HEX#BBC252
RGBrgb(187, 194, 82)
HSLhsl(64, 48%, 54%)
HSVhsv(64, 58%, 76%)
CMYKcmyk(3.6%, 0%, 57.7%, 23.9%)
CIE-LABlab(75.92, -17.47, 54.26)
CIE-LCHlch(75.92, 57.00, 107.85°)
OKLaboklab(78.64% -0.0517 0.1253)
OKLCHoklch(78.64% 0.136 112.4)
XYZxyz(41.3093, 49.7584, 15.4092)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC252 #5952C2
analogous
#C29152 #BBC252 #83C252
triadic
#BBC252 #52BBC2 #C252BB
tetradic
#BBC252 #52C291 #5952C2 #C25283
square
#BBC252 #52C291 #5952C2 #C25283
split-complementary
#BBC252 #5283C2 #9152C2
monochromatic
#6D7228 #989F38 #BBC252 #CDD27F #DFE2AC

Accessibility & contrast

On white

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

On black

10.95
#BBC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC252
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC252#FFFFFF#000000##000000
##BBC2521.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA46
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#C6B7AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc252;
/* rgb */ color: rgb(187, 194, 82);
/* oklch */ color: oklch(78.6% 0.136 112.4);
Tailwind
colors: {
  custom: {
    50: '#d2d487',
    500: '#bbc252',
    950: '#000000',
  },
}
SCSS
$custom: #bbc252;
$custom-light: #d2d487;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc252",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 63.75,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78638,
    "c": 0.1356,
    "h": 112.4
  },
  "luminance": 0.49758
}

Semantic roles & 50–950 ramp

primary
#BBC252
secondary
#A3A0D0
accent
#50D759
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BBC252

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

Preview Lab → · Contrast checker → · Palette generator →

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