#BEC240#BEC240

#BEC240 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.7% C 0.149 H 111.1°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#BEC240
RGBrgb(190, 194, 64)
HSLhsl(62, 52%, 51%)
HSVhsv(62, 67%, 76%)
CMYKcmyk(2.1%, 0%, 67%, 23.9%)
CIE-LABlab(76.01, -17.41, 61.96)
CIE-LCHlch(76.01, 64.36, 105.70°)
OKLaboklab(78.72% -0.0536 0.139)
OKLCHoklch(78.72% 0.149 111.1)
XYZxyz(41.4537, 49.9019, 12.2979)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC240 #4440C2
analogous
#C28540 #BEC240 #7DC240
triadic
#BEC240 #40BEC2 #C240BE
tetradic
#BEC240 #40C285 #4440C2 #C2407D
square
#BEC240 #40C285 #4440C2 #C2407D
split-complementary
#BEC240 #407DC2 #8540C2
monochromatic
#656721 #929530 #BEC240 #CED16E #DEE09D

Accessibility & contrast

On white

1.91
#BEC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#BEC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC240
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC240#FFFFFF#000000##000000
##BEC2401.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D2BD49
Tritanopia (blue-blind)
#CBB6A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bec240;
/* rgb */ color: rgb(190, 194, 64);
/* oklch */ color: oklch(78.7% 0.149 111.1);
Tailwind
colors: {
  custom: {
    50: '#d5d47c',
    500: '#bec240',
    950: '#000000',
  },
}
SCSS
$custom: #bec240;
$custom-light: #d5d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#bec240",
  "rgb": {
    "r": 190,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 61.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78719,
    "c": 0.14898,
    "h": 111.1
  },
  "luminance": 0.49901
}

Semantic roles & 50–950 ramp

primary
#BEC240
secondary
#9492CC
accent
#4DDB51
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #BEC240

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

Preview Lab → · Contrast checker → · Palette generator →

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