#BEC524#BEC524

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

Color values

HEX#BEC524
RGBrgb(190, 197, 36)
HSLhsl(63, 69%, 46%)
HSVhsv(63, 82%, 77%)
CMYKcmyk(3.6%, 0%, 81.7%, 22.7%)
CIE-LABlab(76.68, -20.11, 71.64)
CIE-LCHlch(76.68, 74.41, 105.68°)
OKLaboklab(79.21% -0.0635 0.1547)
OKLCHoklch(79.21% 0.167 112.3)
XYZxyz(41.5214, 51.0081, 9.3270)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC524 #2B24C5
analogous
#C57C24 #BEC524 #6DC524
triadic
#BEC524 #24BEC5 #C524BE
tetradic
#BEC524 #24C57C #2B24C5 #C5246D
square
#BEC524 #24C57C #2B24C5 #C5246D
split-complementary
#BEC524 #246DC5 #7C24C5
monochromatic
#5A5E11 #8C911B #BEC524 #D7DE49 #E2E77C

Accessibility & contrast

On white

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

On black

11.20
#BEC524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC524
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC524#FFFFFF#000000##000000
##BEC5241.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BB00
Deuteranopia (green-blind)
#D5BF35
Tritanopia (blue-blind)
#CBB8A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bec524;
/* rgb */ color: rgb(190, 197, 36);
/* oklch */ color: oklch(79.2% 0.167 112.3);
Tailwind
colors: {
  custom: {
    50: '#d6d66f',
    500: '#bec524',
    950: '#000000',
  },
}
SCSS
$custom: #bec524;
$custom-light: #d6d66f;
$custom-dark: #000000;
JSON
{
  "hex": "#bec524",
  "rgb": {
    "r": 190,
    "g": 197,
    "b": 36
  },
  "hsl": {
    "h": 62.609,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.79212,
    "c": 0.16722,
    "h": 112.3
  },
  "luminance": 0.51007
}

Semantic roles & 50–950 ramp

primary
#BEC524
secondary
#272469
accent
#3CEC44
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BEC524

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

Preview Lab → · Contrast checker → · Palette generator →

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