#BEC540#BEC540

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

Color values

HEX#BEC540
RGBrgb(190, 197, 64)
HSLhsl(63, 53%, 51%)
HSVhsv(63, 68%, 77%)
CMYKcmyk(3.6%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.83, -18.91, 62.79)
CIE-LCHlch(76.83, 65.58, 106.76°)
OKLaboklab(79.38% -0.0578 0.1407)
OKLCHoklch(79.38% 0.152 112.3)
XYZxyz(42.1281, 51.2508, 12.5227)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC540 #4740C5
analogous
#C58940 #BEC540 #7BC540
triadic
#BEC540 #40BEC5 #C540BE
tetradic
#BEC540 #40C589 #4740C5 #C5407B
square
#BEC540 #40C589 #4740C5 #C5407B
split-complementary
#BEC540 #407BC5 #8940C5
monochromatic
#666A20 #94992F #BEC540 #CED36F #DEE29E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BEC540#FFFFFF#000000##000000
##BEC5401.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)
#D4BC2C
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#CBB9AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bec540;
/* rgb */ color: rgb(190, 197, 64);
/* oklch */ color: oklch(79.4% 0.152 112.3);
Tailwind
colors: {
  custom: {
    50: '#d5d67c',
    500: '#bec540',
    950: '#000000',
  },
}
SCSS
$custom: #bec540;
$custom-light: #d5d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bec540",
  "rgb": {
    "r": 190,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 63.158,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79376,
    "c": 0.15216,
    "h": 112.3
  },
  "luminance": 0.5125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BEC540

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

Preview Lab → · Contrast checker → · Palette generator →

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