#BEC652#BEC652

#BEC652 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.139 H 112.8°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#BEC652
RGBrgb(190, 198, 82)
HSLhsl(64, 50%, 55%)
HSVhsv(64, 59%, 78%)
CMYKcmyk(4%, 0%, 58.6%, 22.4%)
CIE-LABlab(77.25, -18.23, 55.80)
CIE-LCHlch(77.25, 58.70, 108.10°)
OKLaboklab(79.76% -0.0541 0.1286)
OKLCHoklch(79.76% 0.139 112.8)
XYZxyz(42.9533, 51.9454, 15.7448)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC652 #5A52C6
analogous
#C69452 #BEC652 #84C652
triadic
#BEC652 #52BEC6 #C652BE
tetradic
#BEC652 #52C694 #5A52C6 #C65284
square
#BEC652 #52C694 #5A52C6 #C65284
split-complementary
#BEC652 #5284C6 #9452C6
monochromatic
#717727 #9DA536 #BEC652 #CFD580 #E1E4AE

Accessibility & contrast

On white

1.84
#BEC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#BEC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC652
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC652#FFFFFF#000000##000000
##BEC6521.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD45
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#CABBAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bec652;
/* rgb */ color: rgb(190, 198, 82);
/* oklch */ color: oklch(79.8% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#d4d787',
    500: '#bec652',
    950: '#000000',
  },
}
SCSS
$custom: #bec652;
$custom-light: #d4d787;
$custom-dark: #000000;
JSON
{
  "hex": "#bec652",
  "rgb": {
    "r": 190,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 64.138,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79756,
    "c": 0.13946,
    "h": 112.8
  },
  "luminance": 0.51945
}

Semantic roles & 50–950 ramp

primary
#BEC652
secondary
#413D7F
accent
#4EDA58
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #BEC652

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

Preview Lab → · Contrast checker → · Palette generator →

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