#BEC740#BEC740

#BEC740 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.154 H 113.1°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#BEC740
RGBrgb(190, 199, 64)
HSLhsl(64, 55%, 52%)
HSVhsv(64, 68%, 78%)
CMYKcmyk(4.5%, 0%, 67.8%, 22%)
CIE-LABlab(77.38, -19.90, 63.34)
CIE-LCHlch(77.38, 66.40, 107.44°)
OKLaboklab(79.82% -0.0606 0.1419)
OKLCHoklch(79.82% 0.154 113.1)
XYZxyz(42.5853, 52.1651, 12.6750)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC740 #4940C7
analogous
#C78D40 #BEC740 #7BC740
triadic
#BEC740 #40BEC7 #C740BE
tetradic
#BEC740 #40C78D #4940C7 #C7407B
square
#BEC740 #40C78D #4940C7 #C7407B
split-complementary
#BEC740 #407BC7 #8D40C7
monochromatic
#686D20 #959C2E #BEC740 #CED56F #DEE39F

Accessibility & contrast

On white

1.84
#BEC740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#BEC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC740
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC740#FFFFFF#000000##000000
##BEC7401.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#CABBAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bec740;
/* rgb */ color: rgb(190, 199, 64);
/* oklch */ color: oklch(79.8% 0.154 113.1);
Tailwind
colors: {
  custom: {
    50: '#d5d77d',
    500: '#bec740',
    950: '#000000',
  },
}
SCSS
$custom: #bec740;
$custom-light: #d5d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#bec740",
  "rgb": {
    "r": 190,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 64,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.15431,
    "h": 113.1
  },
  "luminance": 0.52164
}

Semantic roles & 50–950 ramp

primary
#BEC740
secondary
#393576
accent
#4ADE54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC740

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

Preview Lab → · Contrast checker → · Palette generator →

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