#BEC918#BEC918

#BEC918 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.175 H 113.7°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#BEC918
RGBrgb(190, 201, 24)
HSLhsl(64, 79%, 44%)
HSVhsv(64, 88%, 79%)
CMYKcmyk(5.5%, 0%, 88.1%, 21.2%)
CIE-LABlab(77.75, -22.38, 75.08)
CIE-LCHlch(77.75, 78.35, 106.60°)
OKLaboklab(80.05% -0.0704 0.1603)
OKLCHoklch(80.05% 0.175 113.7)
XYZxyz(42.2882, 52.7873, 8.8253)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC918 #2318C9
analogous
#C97C18 #BEC918 #66C918
triadic
#BEC918 #18BEC9 #C918BE
tetradic
#BEC918 #18C97C #2318C9 #C91866
square
#BEC918 #18C97C #2318C9 #C91866
split-complementary
#BEC918 #1866C9 #7C18C9
monochromatic
#575C0B #8A9211 #BEC918 #DCE737 #E6EE6E

Accessibility & contrast

On white

1.82
#BEC918 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#BEC918 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC918
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC918#FFFFFF#000000##000000
##BEC9181.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D8C22E
Tritanopia (blue-blind)
#CBBCAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bec918;
/* rgb */ color: rgb(190, 201, 24);
/* oklch */ color: oklch(80.1% 0.175 113.7);
Tailwind
colors: {
  custom: {
    50: '#d6d96c',
    500: '#bec918',
    950: '#000000',
  },
}
SCSS
$custom: #bec918;
$custom-light: #d6d96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bec918",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 24
  },
  "hsl": {
    "h": 63.729,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.80054,
    "c": 0.17513,
    "h": 113.7
  },
  "luminance": 0.52786
}

Semantic roles & 50–950 ramp

primary
#BEC918
secondary
#221E67
accent
#33F53F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #BEC918

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

Preview Lab → · Contrast checker → · Palette generator →

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