#BFCC28#BFCC28

#BFCC28 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.9% C 0.172 H 114.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#BFCC28
RGBrgb(191, 204, 40)
HSLhsl(65, 67%, 48%)
HSVhsv(65, 80%, 80%)
CMYKcmyk(6.4%, 0%, 80.4%, 20%)
CIE-LABlab(78.70, -23.00, 72.39)
CIE-LCHlch(78.70, 75.95, 107.62°)
OKLaboklab(80.86% -0.0712 0.157)
OKLCHoklch(80.86% 0.172 114.4)
XYZxyz(43.4631, 54.4162, 10.2209)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFCC28 #3528CC
analogous
#CC8728 #BFCC28 #6DCC28
triadic
#BFCC28 #28BFCC #CC28BF
tetradic
#BFCC28 #28CC87 #3528CC #CC286D
square
#BFCC28 #28CC87 #3528CC #CC286D
split-complementary
#BFCC28 #286DCC #8728CC
monochromatic
#5F6614 #8F991E #BFCC28 #D3DD54 #E0E787

Accessibility & contrast

On white

1.77
#BFCC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#BFCC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFCC28
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFCC28#FFFFFF#000000##000000
##BFCC281.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DBC439
Tritanopia (blue-blind)
#CCC0AF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #bfcc28;
/* rgb */ color: rgb(191, 204, 40);
/* oklch */ color: oklch(80.9% 0.172 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6db72',
    500: '#bfcc28',
    950: '#000000',
  },
}
SCSS
$custom: #bfcc28;
$custom-light: #d6db72;
$custom-dark: #000000;
JSON
{
  "hex": "#bfcc28",
  "rgb": {
    "r": 191,
    "g": 204,
    "b": 40
  },
  "hsl": {
    "h": 64.756,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.17237,
    "h": 114.4
  },
  "luminance": 0.54415
}

Semantic roles & 50–950 ramp

primary
#BFCC28
secondary
#2E2870
accent
#3EEA4B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BFCC28

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

Preview Lab → · Contrast checker → · Palette generator →

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