#BEC959#BEC959

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

Color values

HEX#BEC959
RGBrgb(190, 201, 89)
HSLhsl(66, 51%, 57%)
HSVhsv(66, 56%, 79%)
CMYKcmyk(5.5%, 0%, 55.7%, 21.2%)
CIE-LABlab(78.14, -19.18, 53.66)
CIE-LCHlch(78.14, 56.99, 109.67°)
OKLaboklab(80.49% -0.056 0.1248)
OKLCHoklch(80.49% 0.137 114.2)
XYZxyz(43.9259, 53.4424, 17.4507)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC959 #6459C9
analogous
#C99C59 #BEC959 #86C959
triadic
#BEC959 #59BEC9 #C959BE
tetradic
#BEC959 #59C99C #6459C9 #C95986
square
#BEC959 #59C99C #6459C9 #C95986
split-complementary
#BEC959 #5986C9 #9C59C9
monochromatic
#767E29 #A1AD38 #BEC959 #D0D887 #E2E7B5

Accessibility & contrast

On white

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

On black

11.69
#BEC959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC959
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC959#FFFFFF#000000##000000
##BEC9591.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04D
Deuteranopia (green-blind)
#D6C260
Tritanopia (blue-blind)
#C9BFB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bec959;
/* rgb */ color: rgb(190, 201, 89);
/* oklch */ color: oklch(80.5% 0.137 114.2);
Tailwind
colors: {
  custom: {
    50: '#d4d98c',
    500: '#bec959',
    950: '#000000',
  },
}
SCSS
$custom: #bec959;
$custom-light: #d4d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#bec959",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 65.893,
    "s": 50.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80487,
    "c": 0.13683,
    "h": 114.2
  },
  "luminance": 0.53442
}

Semantic roles & 50–950 ramp

primary
#BEC959
secondary
#474086
accent
#4DDA5B
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #BEC959

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

Preview Lab → · Contrast checker → · Palette generator →

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