#BBC538#BBC538

#BBC538 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.1% C 0.158 H 113.5°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#BBC538
RGBrgb(187, 197, 56)
HSLhsl(64, 56%, 50%)
HSVhsv(64, 72%, 77%)
CMYKcmyk(5.1%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.55, -20.59, 65.37)
CIE-LCHlch(76.55, 68.54, 107.48°)
OKLaboklab(79.08% -0.0631 0.145)
OKLCHoklch(79.08% 0.158 113.5)
XYZxyz(41.1748, 50.7837, 11.3738)
Luminance0.5078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC538 #4238C5
analogous
#C58838 #BBC538 #75C538
triadic
#BBC538 #38BBC5 #C538BB
tetradic
#BBC538 #38C588 #4238C5 #C53875
square
#BBC538 #38C588 #4238C5 #C53875
split-complementary
#BBC538 #3875C5 #8838C5
monochromatic
#61661D #8E952A #BBC538 #CCD467 #DCE196

Accessibility & contrast

On white

1.88
#BBC538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#BBC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC538
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC538#FFFFFF#000000##000000
##BBC5381.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB1E
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#C7B9AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc538;
/* rgb */ color: rgb(187, 197, 56);
/* oklch */ color: oklch(79.1% 0.158 113.5);
Tailwind
colors: {
  custom: {
    50: '#d3d678',
    500: '#bbc538',
    950: '#000000',
  },
}
SCSS
$custom: #bbc538;
$custom-light: #d3d678;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc538",
  "rgb": {
    "r": 187,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 64.255,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79076,
    "c": 0.15808,
    "h": 113.5
  },
  "luminance": 0.50783
}

Semantic roles & 50–950 ramp

primary
#BBC538
secondary
#363170
accent
#49DF53
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC538

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

Preview Lab → · Contrast checker → · Palette generator →

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