#BEC842#BEC842

#BEC842 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.1% C 0.154 H 113.5°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#BEC842
RGBrgb(190, 200, 66)
HSLhsl(64, 55%, 52%)
HSVhsv(64, 67%, 78%)
CMYKcmyk(5%, 0%, 67%, 21.6%)
CIE-LABlab(77.67, -20.28, 62.87)
CIE-LCHlch(77.67, 66.06, 107.88°)
OKLaboklab(80.05% -0.0614 0.1412)
OKLCHoklch(80.05% 0.154 113.5)
XYZxyz(42.8740, 52.6499, 13.0571)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC842 #4C42C8
analogous
#C88F42 #BEC842 #7BC842
triadic
#BEC842 #42BEC8 #C842BE
tetradic
#BEC842 #42C88F #4C42C8 #C8427B
square
#BEC842 #42C88F #4C42C8 #C8427B
split-complementary
#BEC842 #427BC8 #8F42C8
monochromatic
#696F20 #969F2E #BEC842 #CED671 #DFE4A1

Accessibility & contrast

On white

1.82
#BEC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#BEC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC842
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC842#FFFFFF#000000##000000
##BEC8421.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF2E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#CABCAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bec842;
/* rgb */ color: rgb(190, 200, 66);
/* oklch */ color: oklch(80.1% 0.154 113.5);
Tailwind
colors: {
  custom: {
    50: '#d5d87e',
    500: '#bec842',
    950: '#000000',
  },
}
SCSS
$custom: #bec842;
$custom-light: #d5d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#bec842",
  "rgb": {
    "r": 190,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 64.478,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80051,
    "c": 0.15403,
    "h": 113.5
  },
  "luminance": 0.52649
}

Semantic roles & 50–950 ramp

primary
#BEC842
secondary
#3B3679
accent
#4ADE55
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC842

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

Preview Lab → · Contrast checker → · Palette generator →

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