#BBBC27#BBBC27

#BBBC27 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.158 H 110.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BBBC27
RGBrgb(187, 188, 39)
HSLhsl(60, 66%, 45%)
HSVhsv(60, 79%, 74%)
CMYKcmyk(0.5%, 0%, 79.3%, 26.3%)
CIE-LABlab(73.98, -16.81, 68.40)
CIE-LCHlch(73.98, 70.44, 103.81°)
OKLaboklab(77% -0.054 0.1484)
OKLCHoklch(77% 0.158 110)
XYZxyz(38.8444, 46.6789, 8.8828)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBC27 #2827BC
analogous
#BC7327 #BBBC27 #70BC27
triadic
#BBBC27 #27BBBC #BC27BB
tetradic
#BBBC27 #27BC73 #2827BC #BC2770
square
#BBBC27 #27BC73 #2827BC #BC2770
split-complementary
#BBBC27 #2770BC #7327BC
monochromatic
#565712 #89891C #BBBC27 #D8D947 #E3E37A

Accessibility & contrast

On white

2.03
#BBBC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#BBBC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBC27
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBC27#FFFFFF#000000##000000
##BBBC271.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB835
Tritanopia (blue-blind)
#C9B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbbc27;
/* rgb */ color: rgb(187, 188, 39);
/* oklch */ color: oklch(77.0% 0.158 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf6f',
    500: '#bbbc27',
    950: '#000000',
  },
}
SCSS
$custom: #bbbc27;
$custom-light: #d3cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbc27",
  "rgb": {
    "r": 187,
    "g": 188,
    "b": 39
  },
  "hsl": {
    "h": 60.403,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76997,
    "c": 0.1579,
    "h": 110
  },
  "luminance": 0.46678
}

Semantic roles & 50–950 ramp

primary
#BBBC27
secondary
#7473CB
accent
#3FE940
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BBBC27

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

Preview Lab → · Contrast checker → · Palette generator →

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