#BEC251#BEC251

#BEC251 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.9% C 0.136 H 111.0°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#BEC251
RGBrgb(190, 194, 81)
HSLhsl(62, 48%, 54%)
HSVhsv(62, 58%, 76%)
CMYKcmyk(2.1%, 0%, 58.2%, 23.9%)
CIE-LABlab(76.15, -16.30, 55.02)
CIE-LCHlch(76.15, 57.38, 106.51°)
OKLaboklab(78.87% -0.0487 0.1268)
OKLCHoklch(78.87% 0.136 111)
XYZxyz(42.0133, 50.1258, 15.2451)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC251 #5551C2
analogous
#C28E51 #BEC251 #86C251
triadic
#BEC251 #51BEC2 #C251BE
tetradic
#BEC251 #51C28E #5551C2 #C25186
square
#BEC251 #51C28E #5551C2 #C25186
split-complementary
#BEC251 #5186C2 #8E51C2
monochromatic
#6E7128 #9B9E37 #BEC251 #CFD27E #E0E2AC

Accessibility & contrast

On white

1.90
#BEC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#BEC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC251
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC251#FFFFFF#000000##000000
##BEC2511.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA44
Deuteranopia (green-blind)
#D1BD58
Tritanopia (blue-blind)
#CAB7AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bec251;
/* rgb */ color: rgb(190, 194, 81);
/* oklch */ color: oklch(78.9% 0.136 111.0);
Tailwind
colors: {
  custom: {
    50: '#d4d486',
    500: '#bec251',
    950: '#000000',
  },
}
SCSS
$custom: #bec251;
$custom-light: #d4d486;
$custom-dark: #000000;
JSON
{
  "hex": "#bec251",
  "rgb": {
    "r": 190,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 62.124,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78873,
    "c": 0.13581,
    "h": 111
  },
  "luminance": 0.50125
}

Semantic roles & 50–950 ramp

primary
#BEC251
secondary
#3F3D7A
accent
#50D855
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BEC251

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

Preview Lab → · Contrast checker → · Palette generator →

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