#BEC42B#BEC42B

#BEC42B is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.163 H 111.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#BEC42B
RGBrgb(190, 196, 43)
HSLhsl(62, 64%, 47%)
HSVhsv(62, 78%, 77%)
CMYKcmyk(3.1%, 0%, 78.1%, 23.1%)
CIE-LABlab(76.44, -19.38, 69.53)
CIE-LCHlch(76.44, 72.18, 105.58°)
OKLaboklab(79.02% -0.061 0.1514)
OKLCHoklch(79.02% 0.163 111.9)
XYZxyz(41.4126, 50.6025, 9.8708)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC42B #312BC4
analogous
#C47E2B #BEC42B #72C42B
triadic
#BEC42B #2BBEC4 #C42BBE
tetradic
#BEC42B #2BC47E #312BC4 #C42B72
square
#BEC42B #2BC47E #312BC4 #C42B72
split-complementary
#BEC42B #2B72C4 #7E2BC4
monochromatic
#5D6015 #8D9220 #BEC42B #D4D953 #E1E485

Accessibility & contrast

On white

1.89
#BEC42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#BEC42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC42B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC42B#FFFFFF#000000##000000
##BEC42B1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#CBB8A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bec42b;
/* rgb */ color: rgb(190, 196, 43);
/* oklch */ color: oklch(79.0% 0.163 111.9);
Tailwind
colors: {
  custom: {
    50: '#d6d572',
    500: '#bec42b',
    950: '#000000',
  },
}
SCSS
$custom: #bec42b;
$custom-light: #d6d572;
$custom-dark: #000000;
JSON
{
  "hex": "#bec42b",
  "rgb": {
    "r": 190,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 62.353,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.79024,
    "c": 0.16321,
    "h": 111.9
  },
  "luminance": 0.50601
}

Semantic roles & 50–950 ramp

primary
#BEC42B
secondary
#2B296B
accent
#41E747
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BEC42B

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

Preview Lab → · Contrast checker → · Palette generator →

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