#BBC240#BBC240

#BBC240 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.150 H 112.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#BBC240
RGBrgb(187, 194, 64)
HSLhsl(63, 52%, 51%)
HSVhsv(63, 67%, 76%)
CMYKcmyk(3.6%, 0%, 67%, 23.9%)
CIE-LABlab(75.77, -18.67, 61.64)
CIE-LCHlch(75.77, 64.41, 106.85°)
OKLaboklab(78.47% -0.057 0.1384)
OKLCHoklch(78.47% 0.15 112.4)
XYZxyz(40.7119, 49.5194, 12.2631)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC240 #4740C2
analogous
#C28840 #BBC240 #7AC240
triadic
#BBC240 #40BBC2 #C240BB
tetradic
#BBC240 #40C288 #4740C2 #C2407A
square
#BBC240 #40C288 #4740C2 #C2407A
split-complementary
#BBC240 #407AC2 #8840C2
monochromatic
#636721 #909530 #BBC240 #CCD16E #DCE09D

Accessibility & contrast

On white

1.93
#BBC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#BBC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC240
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC240#FFFFFF#000000##000000
##BBC2401.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92D
Deuteranopia (green-blind)
#D1BC49
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc240;
/* rgb */ color: rgb(187, 194, 64);
/* oklch */ color: oklch(78.5% 0.150 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d47c',
    500: '#bbc240',
    950: '#000000',
  },
}
SCSS
$custom: #bbc240;
$custom-light: #d3d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc240",
  "rgb": {
    "r": 187,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 63.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78473,
    "c": 0.14969,
    "h": 112.4
  },
  "luminance": 0.49519
}

Semantic roles & 50–950 ramp

primary
#BBC240
secondary
#9592CC
accent
#4DDB54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BBC240

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

Preview Lab → · Contrast checker → · Palette generator →

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