#BEC642#BEC642

#BEC642 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.6% C 0.152 H 112.7°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#BEC642
RGBrgb(190, 198, 66)
HSLhsl(64, 54%, 52%)
HSVhsv(64, 67%, 78%)
CMYKcmyk(4%, 0%, 66.7%, 22.4%)
CIE-LABlab(77.12, -19.29, 62.31)
CIE-LCHlch(77.12, 65.23, 107.20°)
OKLaboklab(79.61% -0.0587 0.1401)
OKLCHoklch(79.61% 0.152 112.7)
XYZxyz(42.4139, 51.7296, 12.9037)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC642 #4A42C6
analogous
#C68C42 #BEC642 #7CC642
triadic
#BEC642 #42BEC6 #C642BE
tetradic
#BEC642 #42C68C #4A42C6 #C6427C
square
#BEC642 #42C68C #4A42C6 #C6427C
split-complementary
#BEC642 #427CC6 #8C42C6
monochromatic
#686D21 #959C2F #BEC642 #CED471 #DEE2A0

Accessibility & contrast

On white

1.85
#BEC642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#BEC642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC642
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC642#FFFFFF#000000##000000
##BEC6421.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2F
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#CABAAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bec642;
/* rgb */ color: rgb(190, 198, 66);
/* oklch */ color: oklch(79.6% 0.152 112.7);
Tailwind
colors: {
  custom: {
    50: '#d5d77e',
    500: '#bec642',
    950: '#000000',
  },
}
SCSS
$custom: #bec642;
$custom-light: #d5d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#bec642",
  "rgb": {
    "r": 190,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 63.636,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79611,
    "c": 0.15186,
    "h": 112.7
  },
  "luminance": 0.51729
}

Semantic roles & 50–950 ramp

primary
#BEC642
secondary
#3A3676
accent
#4BDD54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC642

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

Preview Lab → · Contrast checker → · Palette generator →

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