#BBC740#BBC740

#BBC740 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.155 H 114.3°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#BBC740
RGBrgb(187, 199, 64)
HSLhsl(65, 55%, 52%)
HSVhsv(65, 68%, 78%)
CMYKcmyk(6%, 0%, 67.8%, 22%)
CIE-LABlab(77.15, -21.15, 63.04)
CIE-LCHlch(77.15, 66.49, 108.54°)
OKLaboklab(79.58% -0.0639 0.1414)
OKLCHoklch(79.58% 0.155 114.3)
XYZxyz(41.8435, 51.7826, 12.6403)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC740 #4C40C7
analogous
#C79040 #BBC740 #78C740
triadic
#BBC740 #40BBC7 #C740BB
tetradic
#BBC740 #40C790 #4C40C7 #C74078
square
#BBC740 #40C790 #4C40C7 #C74078
split-complementary
#BBC740 #4078C7 #9040C7
monochromatic
#666D20 #929C2E #BBC740 #CCD56F #DDE39F

Accessibility & contrast

On white

1.85
#BBC740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#BBC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC740
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC740#FFFFFF#000000##000000
##BBC7401.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#C7BCAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bbc740;
/* rgb */ color: rgb(187, 199, 64);
/* oklch */ color: oklch(79.6% 0.155 114.3);
Tailwind
colors: {
  custom: {
    50: '#d3d77d',
    500: '#bbc740',
    950: '#000000',
  },
}
SCSS
$custom: #bbc740;
$custom-light: #d3d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc740",
  "rgb": {
    "r": 187,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 65.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79576,
    "c": 0.15513,
    "h": 114.3
  },
  "luminance": 0.51782
}

Semantic roles & 50–950 ramp

primary
#BBC740
secondary
#3B3576
accent
#4ADE57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BBC740

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

Preview Lab → · Contrast checker → · Palette generator →

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