#BEC257#BEC257

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

Color values

HEX#BEC257
RGBrgb(190, 194, 87)
HSLhsl(62, 47%, 55%)
HSVhsv(62, 55%, 76%)
CMYKcmyk(2.1%, 0%, 55.2%, 23.9%)
CIE-LABlab(76.20, -15.84, 52.38)
CIE-LCHlch(76.20, 54.73, 106.83°)
OKLaboklab(78.94% -0.0468 0.1219)
OKLCHoklch(78.94% 0.131 111)
XYZxyz(42.2483, 50.2198, 16.4828)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC257 #5B57C2
analogous
#C29057 #BEC257 #88C257
triadic
#BEC257 #57BEC2 #C257BE
tetradic
#BEC257 #57C290 #5B57C2 #C25788
square
#BEC257 #57C290 #5B57C2 #C25788
split-complementary
#BEC257 #5788C2 #9057C2
monochromatic
#72742A #9DA13B #BEC257 #CFD284 #E1E3B1

Accessibility & contrast

On white

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

On black

11.04
#BEC257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC257
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC257#FFFFFF#000000##000000
##BEC2571.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bec257;
/* rgb */ color: rgb(190, 194, 87);
/* oklch */ color: oklch(78.9% 0.131 111.0);
Tailwind
colors: {
  custom: {
    50: '#d4d48a',
    500: '#bec257',
    950: '#000000',
  },
}
SCSS
$custom: #bec257;
$custom-light: #d4d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#bec257",
  "rgb": {
    "r": 190,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 62.243,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78937,
    "c": 0.13052,
    "h": 111
  },
  "luminance": 0.50219
}

Semantic roles & 50–950 ramp

primary
#BEC257
secondary
#42407E
accent
#51D656
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BEC257

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

Preview Lab → · Contrast checker → · Palette generator →

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