#BBC12F#BBC12F

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

Color values

HEX#BBC12F
RGBrgb(187, 193, 47)
HSLhsl(62, 61%, 47%)
HSVhsv(62, 76%, 76%)
CMYKcmyk(3.1%, 0%, 75.6%, 24.3%)
CIE-LABlab(75.40, -19.01, 67.29)
CIE-LCHlch(75.40, 69.92, 105.78°)
OKLaboklab(78.14% -0.0595 0.1474)
OKLCHoklch(78.14% 0.159 112)
XYZxyz(40.0779, 48.9110, 10.0183)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC12F #352FC1
analogous
#C17E2F #BBC12F #72C12F
triadic
#BBC12F #2FBBC1 #C12FBB
tetradic
#BBC12F #2FC17E #352FC1 #C12F72
square
#BBC12F #2FC17E #352FC1 #C12F72
split-complementary
#BBC12F #2F72C1 #7E2FC1
monochromatic
#5C5F17 #8B9023 #BBC12F #D1D657 #DEE288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBC12F#FFFFFF#000000##000000
##BBC12F1.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)
#D0B808
Deuteranopia (green-blind)
#D1BB3C
Tritanopia (blue-blind)
#C8B5A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc12f;
/* rgb */ color: rgb(187, 193, 47);
/* oklch */ color: oklch(78.1% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#d3d373',
    500: '#bbc12f',
    950: '#000000',
  },
}
SCSS
$custom: #bbc12f;
$custom-light: #d3d373;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc12f",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 47
  },
  "hsl": {
    "h": 62.466,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.15898,
    "h": 112
  },
  "luminance": 0.4891
}

Semantic roles & 50–950 ramp

primary
#BBC12F
secondary
#8380CC
accent
#44E44A
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC12F

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

Preview Lab → · Contrast checker → · Palette generator →

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