#BBC662#BBC662

#BBC662 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.7% C 0.125 H 114.5°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#BBC662
RGBrgb(187, 198, 98)
HSLhsl(67, 47%, 58%)
HSVhsv(67, 51%, 78%)
CMYKcmyk(5.6%, 0%, 50.5%, 22.4%)
CIE-LABlab(77.18, -18.13, 48.31)
CIE-LCHlch(77.18, 51.60, 110.57°)
OKLaboklab(79.7% -0.052 0.1142)
OKLCHoklch(79.7% 0.125 114.5)
XYZxyz(42.8929, 51.8354, 19.2986)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC662 #6D62C6
analogous
#C69F62 #BBC662 #89C662
triadic
#BBC662 #62BBC6 #C662BB
tetradic
#BBC662 #62C69F #6D62C6 #C66289
square
#BBC662 #62C69F #6D62C6 #C66289
split-complementary
#BBC662 #6289C6 #9F62C6
monochromatic
#767F2E #A0AC3F #BBC662 #CED68F #E2E7BC

Accessibility & contrast

On white

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

On black

11.37
#BBC662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC662
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC662#FFFFFF#000000##000000
##BBC6621.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D1C067
Tritanopia (blue-blind)
#C5BCAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bbc662;
/* rgb */ color: rgb(187, 198, 98);
/* oklch */ color: oklch(79.7% 0.125 114.5);
Tailwind
colors: {
  custom: {
    50: '#d1d791',
    500: '#bbc662',
    950: '#000000',
  },
}
SCSS
$custom: #bbc662;
$custom-light: #d1d791;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc662",
  "rgb": {
    "r": 187,
    "g": 198,
    "b": 98
  },
  "hsl": {
    "h": 66.6,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79699,
    "c": 0.12548,
    "h": 114.5
  },
  "luminance": 0.51835
}

Semantic roles & 50–950 ramp

primary
#BBC662
secondary
#4C4587
accent
#51D660
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BBC662

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

Preview Lab → · Contrast checker → · Palette generator →

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