#BBC12D#BBC12D

#BBC12D is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.1% C 0.160 H 112.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#BBC12D
RGBrgb(187, 193, 45)
HSLhsl(62, 62%, 47%)
HSVhsv(62, 77%, 76%)
CMYKcmyk(3.1%, 0%, 76.7%, 24.3%)
CIE-LABlab(75.39, -19.09, 67.90)
CIE-LCHlch(75.39, 70.53, 105.70°)
OKLaboklab(78.13% -0.0599 0.1484)
OKLCHoklch(78.13% 0.16 112)
XYZxyz(40.0385, 48.8952, 9.8107)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC12D #332DC1
analogous
#C17D2D #BBC12D #71C12D
triadic
#BBC12D #2DBBC1 #C12DBB
tetradic
#BBC12D #2DC17D #332DC1 #C12D71
square
#BBC12D #2DC17D #332DC1 #C12D71
split-complementary
#BBC12D #2D71C1 #7D2DC1
monochromatic
#5B5E16 #8B8F21 #BBC12D #D2D754 #DFE386

Accessibility & contrast

On white

1.95
#BBC12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#BBC12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC12D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC12D#FFFFFF#000000##000000
##BBC12D1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D1BB3A
Tritanopia (blue-blind)
#C8B5A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc12d;
/* rgb */ color: rgb(187, 193, 45);
/* oklch */ color: oklch(78.1% 0.160 112.0);
Tailwind
colors: {
  custom: {
    50: '#d3d373',
    500: '#bbc12d',
    950: '#000000',
  },
}
SCSS
$custom: #bbc12d;
$custom-light: #d3d373;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc12d",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 62.432,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.78127,
    "c": 0.16001,
    "h": 112
  },
  "luminance": 0.48894
}

Semantic roles & 50–950 ramp

primary
#BBC12D
secondary
#817ECC
accent
#43E549
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC12D

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

Preview Lab → · Contrast checker → · Palette generator →

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