#BEC957#BEC957

#BEC957 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.5% C 0.139 H 114.1°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#BEC957
RGBrgb(190, 201, 87)
HSLhsl(66, 51%, 56%)
HSVhsv(66, 57%, 79%)
CMYKcmyk(5.5%, 0%, 56.7%, 21.2%)
CIE-LABlab(78.12, -19.34, 54.54)
CIE-LCHlch(78.12, 57.87, 109.53°)
OKLaboklab(80.47% -0.0567 0.1265)
OKLCHoklch(80.47% 0.139 114.1)
XYZxyz(43.8431, 53.4093, 17.0144)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC957 #6257C9
analogous
#C99B57 #BEC957 #85C957
triadic
#BEC957 #57BEC9 #C957BE
tetradic
#BEC957 #57C99B #6257C9 #C95785
square
#BEC957 #57C99B #6257C9 #C95785
split-complementary
#BEC957 #5785C9 #9B57C9
monochromatic
#757D28 #A0AC37 #BEC957 #D0D885 #E2E7B4

Accessibility & contrast

On white

1.80
#BEC957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#BEC957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC957
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC957#FFFFFF#000000##000000
##BEC9571.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#D6C25E
Tritanopia (blue-blind)
#C9BEB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bec957;
/* rgb */ color: rgb(190, 201, 87);
/* oklch */ color: oklch(80.5% 0.139 114.1);
Tailwind
colors: {
  custom: {
    50: '#d4d98a',
    500: '#bec957',
    950: '#000000',
  },
}
SCSS
$custom: #bec957;
$custom-light: #d4d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#bec957",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 65.789,
    "s": 51.351,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80465,
    "c": 0.1386,
    "h": 114.1
  },
  "luminance": 0.53409
}

Semantic roles & 50–950 ramp

primary
#BEC957
secondary
#463F85
accent
#4DDB5B
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BEC957

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

Preview Lab → · Contrast checker → · Palette generator →

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