#BEC956#BEC956

#BEC956 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#BEC956
RGBrgb(190, 201, 86)
HSLhsl(66, 52%, 56%)
HSVhsv(66, 57%, 79%)
CMYKcmyk(5.5%, 0%, 57.2%, 21.2%)
CIE-LABlab(78.11, -19.42, 54.98)
CIE-LCHlch(78.11, 58.31, 109.46°)
OKLaboklab(80.46% -0.057 0.1273)
OKLCHoklch(80.46% 0.139 114.1)
XYZxyz(43.8025, 53.3931, 16.8007)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC956 #6156C9
analogous
#C99B56 #BEC956 #85C956
triadic
#BEC956 #56BEC9 #C956BE
tetradic
#BEC956 #56C99B #6156C9 #C95685
square
#BEC956 #56C99B #6156C9 #C95685
split-complementary
#BEC956 #5685C9 #9B56C9
monochromatic
#757D28 #A0AB37 #BEC956 #D0D884 #E2E7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BEC956#FFFFFF#000000##000000
##BEC9561.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)
#D6C04A
Deuteranopia (green-blind)
#D6C25D
Tritanopia (blue-blind)
#C9BEB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bec956;
/* rgb */ color: rgb(190, 201, 86);
/* oklch */ color: oklch(80.5% 0.139 114.1);
Tailwind
colors: {
  custom: {
    50: '#d4d98a',
    500: '#bec956',
    950: '#000000',
  },
}
SCSS
$custom: #bec956;
$custom-light: #d4d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#bec956",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 65.739,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80455,
    "c": 0.13948,
    "h": 114.1
  },
  "luminance": 0.53392
}

Semantic roles & 50–950 ramp

primary
#BEC956
secondary
#453E85
accent
#4DDB5A
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BEC956

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

Preview Lab → · Contrast checker → · Palette generator →

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