#BBCB38#BBCB38

#BBCB38 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.4% C 0.165 H 115.7°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#BBCB38
RGBrgb(187, 203, 56)
HSLhsl(67, 59%, 51%)
HSVhsv(67, 72%, 80%)
CMYKcmyk(7.9%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.21, -23.52, 66.97)
CIE-LCHlch(78.21, 70.98, 109.35°)
OKLaboklab(80.41% -0.0712 0.1483)
OKLCHoklch(80.41% 0.165 115.7)
XYZxyz(42.5644, 53.5629, 11.8370)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBCB38 #4838CB
analogous
#CB9238 #BBCB38 #71CB38
triadic
#BBCB38 #38BBCB #CB38BB
tetradic
#BBCB38 #38CB92 #4838CB #CB3871
square
#BBCB38 #38CB92 #4838CB #CB3871
split-complementary
#BBCB38 #3871CB #9238CB
monochromatic
#646C1C #909D29 #BBCB38 #CCD869 #DCE499

Accessibility & contrast

On white

1.79
#BBCB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#BBCB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBCB38
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBCB38#FFFFFF#000000##000000
##BBCB381.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C11B
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#C7BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bbcb38;
/* rgb */ color: rgb(187, 203, 56);
/* oklch */ color: oklch(80.4% 0.165 115.7);
Tailwind
colors: {
  custom: {
    50: '#d3da79',
    500: '#bbcb38',
    950: '#000000',
  },
}
SCSS
$custom: #bbcb38;
$custom-light: #d3da79;
$custom-dark: #000000;
JSON
{
  "hex": "#bbcb38",
  "rgb": {
    "r": 187,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 66.531,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80406,
    "c": 0.16455,
    "h": 115.7
  },
  "luminance": 0.53562
}

Semantic roles & 50–950 ramp

primary
#BBCB38
secondary
#393176
accent
#46E257
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBCB38

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

Preview Lab → · Contrast checker → · Palette generator →

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