#BEC528#BEC528

#BEC528 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.166 H 112.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#BEC528
RGBrgb(190, 197, 40)
HSLhsl(63, 66%, 46%)
HSVhsv(63, 80%, 77%)
CMYKcmyk(3.6%, 0%, 79.7%, 22.7%)
CIE-LABlab(76.70, -19.98, 70.60)
CIE-LCHlch(76.70, 73.38, 105.80°)
OKLaboklab(79.23% -0.0629 0.1532)
OKLCHoklch(79.23% 0.166 112.3)
XYZxyz(41.5859, 51.0339, 9.6670)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC528 #2F28C5
analogous
#C57E28 #BEC528 #70C528
triadic
#BEC528 #28BEC5 #C528BE
tetradic
#BEC528 #28C57E #2F28C5 #C52870
square
#BEC528 #28C57E #2F28C5 #C52870
split-complementary
#BEC528 #2870C5 #7E28C5
monochromatic
#5C5F13 #8D921E #BEC528 #D5DB4F #E1E682

Accessibility & contrast

On white

1.87
#BEC528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BEC528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC528
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC528#FFFFFF#000000##000000
##BEC5281.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC00
Deuteranopia (green-blind)
#D5BF37
Tritanopia (blue-blind)
#CBB9A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bec528;
/* rgb */ color: rgb(190, 197, 40);
/* oklch */ color: oklch(79.2% 0.166 112.3);
Tailwind
colors: {
  custom: {
    50: '#d6d671',
    500: '#bec528',
    950: '#000000',
  },
}
SCSS
$custom: #bec528;
$custom-light: #d6d671;
$custom-dark: #000000;
JSON
{
  "hex": "#bec528",
  "rgb": {
    "r": 190,
    "g": 197,
    "b": 40
  },
  "hsl": {
    "h": 62.675,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79229,
    "c": 0.16557,
    "h": 112.3
  },
  "luminance": 0.51033
}

Semantic roles & 50–950 ramp

primary
#BEC528
secondary
#2A276A
accent
#3FE946
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BEC528

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

Preview Lab → · Contrast checker → · Palette generator →

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