#BEC541#BEC541

#BEC541 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.4% C 0.151 H 112.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#BEC541
RGBrgb(190, 197, 65)
HSLhsl(63, 53%, 51%)
HSVhsv(63, 67%, 77%)
CMYKcmyk(3.6%, 0%, 67%, 22.7%)
CIE-LABlab(76.84, -18.85, 62.41)
CIE-LCHlch(76.84, 65.20, 106.81°)
OKLaboklab(79.38% -0.0575 0.1401)
OKLCHoklch(79.38% 0.151 112.3)
XYZxyz(42.1568, 51.2623, 12.6739)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC541 #4841C5
analogous
#C58A41 #BEC541 #7CC541
triadic
#BEC541 #41BEC5 #C541BE
tetradic
#BEC541 #41C58A #4841C5 #C5417C
square
#BEC541 #41C58A #4841C5 #C5417C
split-complementary
#BEC541 #417CC5 #8A41C5
monochromatic
#676B21 #949A2F #BEC541 #CED370 #DEE29F

Accessibility & contrast

On white

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

On black

11.25
#BEC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC541
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC541#FFFFFF#000000##000000
##BEC5411.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2D
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#CBB9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bec541;
/* rgb */ color: rgb(190, 197, 65);
/* oklch */ color: oklch(79.4% 0.151 112.3);
Tailwind
colors: {
  custom: {
    50: '#d5d67d',
    500: '#bec541',
    950: '#000000',
  },
}
SCSS
$custom: #bec541;
$custom-light: #d5d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#bec541",
  "rgb": {
    "r": 190,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 63.182,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.15148,
    "h": 112.3
  },
  "luminance": 0.51261
}

Semantic roles & 50–950 ramp

primary
#BEC541
secondary
#393575
accent
#4BDD53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC541

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

Preview Lab → · Contrast checker → · Palette generator →

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