#BBCA38#BBCA38

#BBCA38 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.163 H 115.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#BBCA38
RGBrgb(187, 202, 56)
HSLhsl(66, 58%, 51%)
HSVhsv(66, 72%, 79%)
CMYKcmyk(7.4%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.93, -23.04, 66.71)
CIE-LCHlch(77.93, 70.57, 109.05°)
OKLaboklab(80.18% -0.0699 0.1478)
OKLCHoklch(80.18% 0.163 115.3)
XYZxyz(42.3290, 53.0921, 11.7586)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBCA38 #4738CA
analogous
#CA9038 #BBCA38 #72CA38
triadic
#BBCA38 #38BBCA #CA38BB
tetradic
#BBCA38 #38CA90 #4738CA #CA3872
square
#BBCA38 #38CA90 #4738CA #CA3872
split-complementary
#BBCA38 #3872CA #9038CA
monochromatic
#636B1D #909B29 #BBCA38 #CCD768 #DCE499

Accessibility & contrast

On white

1.81
#BBCA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#BBCA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBCA38
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBCA38#FFFFFF#000000##000000
##BBCA381.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C01B
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#C7BEAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bbca38;
/* rgb */ color: rgb(187, 202, 56);
/* oklch */ color: oklch(80.2% 0.163 115.3);
Tailwind
colors: {
  custom: {
    50: '#d3da79',
    500: '#bbca38',
    950: '#000000',
  },
}
SCSS
$custom: #bbca38;
$custom-light: #d3da79;
$custom-dark: #000000;
JSON
{
  "hex": "#bbca38",
  "rgb": {
    "r": 187,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 66.164,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80184,
    "c": 0.16346,
    "h": 115.3
  },
  "luminance": 0.53091
}

Semantic roles & 50–950 ramp

primary
#BBCA38
secondary
#383175
accent
#47E157
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBCA38

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

Preview Lab → · Contrast checker → · Palette generator →

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