#BEC940#BEC940

#BEC940 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.3% C 0.156 H 113.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#BEC940
RGBrgb(190, 201, 64)
HSLhsl(65, 56%, 52%)
HSVhsv(65, 68%, 79%)
CMYKcmyk(5.5%, 0%, 68.2%, 21.2%)
CIE-LABlab(77.93, -20.89, 63.90)
CIE-LCHlch(77.93, 67.22, 108.10°)
OKLaboklab(80.26% -0.0633 0.1431)
OKLCHoklch(80.26% 0.156 113.9)
XYZxyz(43.0485, 53.0914, 12.8294)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC940 #4B40C9
analogous
#C99040 #BEC940 #79C940
triadic
#BEC940 #40BEC9 #C940BE
tetradic
#BEC940 #40C990 #4B40C9 #C94079
square
#BEC940 #40C990 #4B40C9 #C94079
split-complementary
#BEC940 #4079C9 #9040C9
monochromatic
#696F1F #969F2D #BEC940 #CED670 #DEE49F

Accessibility & contrast

On white

1.81
#BEC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#BEC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC940
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC940#FFFFFF#000000##000000
##BEC9401.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#CABDAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bec940;
/* rgb */ color: rgb(190, 201, 64);
/* oklch */ color: oklch(80.3% 0.156 113.9);
Tailwind
colors: {
  custom: {
    50: '#d5d97d',
    500: '#bec940',
    950: '#000000',
  },
}
SCSS
$custom: #bec940;
$custom-light: #d5d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#bec940",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 64.818,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80255,
    "c": 0.15647,
    "h": 113.9
  },
  "luminance": 0.53091
}

Semantic roles & 50–950 ramp

primary
#BEC940
secondary
#3A3578
accent
#49DF55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC940

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

Preview Lab → · Contrast checker → · Palette generator →

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