#BBC040#BBC040

#BBC040 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.148 H 111.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#BBC040
RGBrgb(187, 192, 64)
HSLhsl(62, 50%, 50%)
HSVhsv(62, 67%, 75%)
CMYKcmyk(2.6%, 0%, 66.7%, 24.7%)
CIE-LABlab(75.22, -17.67, 61.09)
CIE-LCHlch(75.22, 63.59, 106.13°)
OKLaboklab(78.03% -0.0542 0.1372)
OKLCHoklch(78.03% 0.148 111.5)
XYZxyz(40.2698, 48.6352, 12.1157)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC040 #4540C0
analogous
#C08540 #BBC040 #7BC040
triadic
#BBC040 #40BBC0 #C040BB
tetradic
#BBC040 #40C085 #4540C0 #C0407B
square
#BBC040 #40C085 #4540C0 #C0407B
split-complementary
#BBC040 #407BC0 #8540C0
monochromatic
#626421 #8F9230 #BBC040 #CBCF6E #DCDE9C

Accessibility & contrast

On white

1.96
#BBC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#BBC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC040
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC040#FFFFFF#000000##000000
##BBC0401.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB82D
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bbc040;
/* rgb */ color: rgb(187, 192, 64);
/* oklch */ color: oklch(78.0% 0.148 111.5);
Tailwind
colors: {
  custom: {
    50: '#d3d27c',
    500: '#bbc040',
    950: '#000000',
  },
}
SCSS
$custom: #bbc040;
$custom-light: #d3d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc040",
  "rgb": {
    "r": 187,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 62.344,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78033,
    "c": 0.14754,
    "h": 111.5
  },
  "luminance": 0.48634
}

Semantic roles & 50–950 ramp

primary
#BBC040
secondary
#9491CB
accent
#4EDA53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BBC040

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

Preview Lab → · Contrast checker → · Palette generator →

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