#BEC962#BEC962

#BEC962 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.6% C 0.128 H 114.4°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#BEC962
RGBrgb(190, 201, 98)
HSLhsl(66, 49%, 59%)
HSVhsv(66, 51%, 79%)
CMYKcmyk(5.5%, 0%, 51.2%, 21.2%)
CIE-LABlab(78.23, -18.42, 49.61)
CIE-LCHlch(78.23, 52.92, 110.37°)
OKLaboklab(80.59% -0.053 0.117)
OKLCHoklch(80.59% 0.128 114.4)
XYZxyz(44.3272, 53.6029, 19.5642)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC962 #6D62C9
analogous
#C9A062 #BEC962 #8AC962
triadic
#BEC962 #62BEC9 #C962BE
tetradic
#BEC962 #62C9A0 #6D62C9 #C9628A
square
#BEC962 #62C9A0 #6D62C9 #C9628A
split-complementary
#BEC962 #628AC9 #A062C9
monochromatic
#7A832D #A5B13D #BEC962 #D1D990 #E4E8BD

Accessibility & contrast

On white

1.79
#BEC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#BEC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC962
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC962#FFFFFF#000000##000000
##BEC9621.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C158
Deuteranopia (green-blind)
#D5C368
Tritanopia (blue-blind)
#C8BFB2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bec962;
/* rgb */ color: rgb(190, 201, 98);
/* oklch */ color: oklch(80.6% 0.128 114.4);
Tailwind
colors: {
  custom: {
    50: '#d3d991',
    500: '#bec962',
    950: '#000000',
  },
}
SCSS
$custom: #bec962;
$custom-light: #d3d991;
$custom-dark: #000000;
JSON
{
  "hex": "#bec962",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 66.408,
    "s": 48.815,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80593,
    "c": 0.12841,
    "h": 114.4
  },
  "luminance": 0.53602
}

Semantic roles & 50–950 ramp

primary
#BEC962
secondary
#4C448B
accent
#4FD85E
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BEC962

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

Preview Lab → · Contrast checker → · Palette generator →

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