#BBC138#BBC138

#BBC138 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.154 H 112.0°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#BBC138
RGBrgb(187, 193, 56)
HSLhsl(63, 55%, 49%)
HSVhsv(63, 71%, 76%)
CMYKcmyk(3.1%, 0%, 71%, 24.3%)
CIE-LABlab(75.45, -18.60, 64.31)
CIE-LCHlch(75.45, 66.94, 106.13°)
OKLaboklab(78.19% -0.0575 0.1427)
OKLCHoklch(78.19% 0.154 112)
XYZxyz(40.2786, 48.9912, 11.0751)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC138 #3E38C1
analogous
#C18338 #BBC138 #77C138
triadic
#BBC138 #38BBC1 #C138BB
tetradic
#BBC138 #38C183 #3E38C1 #C13877
square
#BBC138 #38C183 #3E38C1 #C13877
split-complementary
#BBC138 #3877C1 #8338C1
monochromatic
#5F621C #8D922A #BBC138 #CDD264 #DCE094

Accessibility & contrast

On white

1.94
#BBC138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#BBC138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC138
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC138#FFFFFF#000000##000000
##BBC1381.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#C8B5A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc138;
/* rgb */ color: rgb(187, 193, 56);
/* oklch */ color: oklch(78.2% 0.154 112.0);
Tailwind
colors: {
  custom: {
    50: '#d3d378',
    500: '#bbc138',
    950: '#000000',
  },
}
SCSS
$custom: #bbc138;
$custom-light: #d3d378;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc138",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 62.628,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78194,
    "c": 0.15387,
    "h": 112
  },
  "luminance": 0.4899
}

Semantic roles & 50–950 ramp

primary
#BBC138
secondary
#8D8ACB
accent
#49DE50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC138

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

Preview Lab → · Contrast checker → · Palette generator →

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