#BEC71A#BEC71A

#BEC71A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.6% C 0.173 H 113.0°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#BEC71A
RGBrgb(190, 199, 26)
HSLhsl(63, 77%, 44%)
HSVhsv(63, 87%, 78%)
CMYKcmyk(4.5%, 0%, 86.9%, 22%)
CIE-LABlab(77.20, -21.36, 74.27)
CIE-LCHlch(77.20, 77.29, 106.05°)
OKLaboklab(79.62% -0.0675 0.1588)
OKLCHoklch(79.62% 0.173 113)
XYZxyz(41.8466, 51.8696, 8.7845)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC71A #231AC7
analogous
#C7791A #BEC71A #68C71A
triadic
#BEC71A #1ABEC7 #C71ABE
tetradic
#BEC71A #1AC779 #231AC7 #C71A68
square
#BEC71A #1AC779 #231AC7 #C71A68
split-complementary
#BEC71A #1A68C7 #791AC7
monochromatic
#575B0C #8A9113 #BEC71A #DCE539 #E6EC6F

Accessibility & contrast

On white

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

On black

11.37
#BEC71A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC71A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC71A#FFFFFF#000000##000000
##BEC71A1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D7C02F
Tritanopia (blue-blind)
#CCBAAA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bec71a;
/* rgb */ color: rgb(190, 199, 26);
/* oklch */ color: oklch(79.6% 0.173 113.0);
Tailwind
colors: {
  custom: {
    50: '#d6d76c',
    500: '#bec71a',
    950: '#000000',
  },
}
SCSS
$custom: #bec71a;
$custom-light: #d6d76c;
$custom-dark: #000000;
JSON
{
  "hex": "#bec71a",
  "rgb": {
    "r": 190,
    "g": 199,
    "b": 26
  },
  "hsl": {
    "h": 63.121,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.79618,
    "c": 0.17259,
    "h": 113
  },
  "luminance": 0.51869
}

Semantic roles & 50–950 ramp

primary
#BEC71A
secondary
#221F66
accent
#34F33E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BEC71A

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

Preview Lab → · Contrast checker → · Palette generator →

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