#BEC542#BEC542

#BEC542 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.4% C 0.151 H 112.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#BEC542
RGBrgb(190, 197, 66)
HSLhsl(63, 53%, 52%)
HSVhsv(63, 66%, 77%)
CMYKcmyk(3.6%, 0%, 66.5%, 22.7%)
CIE-LABlab(76.84, -18.79, 62.03)
CIE-LCHlch(76.84, 64.82, 106.85°)
OKLaboklab(79.39% -0.0573 0.1395)
OKLCHoklch(79.39% 0.151 112.3)
XYZxyz(42.1861, 51.2740, 12.8278)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC542 #4942C5
analogous
#C58B42 #BEC542 #7DC542
triadic
#BEC542 #42BEC5 #C542BE
tetradic
#BEC542 #42C58B #4942C5 #C5427D
square
#BEC542 #42C58B #4942C5 #C5427D
split-complementary
#BEC542 #427DC5 #8B42C5
monochromatic
#686C21 #959A2F #BEC542 #CED371 #DEE2A0

Accessibility & contrast

On white

1.87
#BEC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#BEC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC542
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC542#FFFFFF#000000##000000
##BEC5421.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2F
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#CAB9AB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bec542;
/* rgb */ color: rgb(190, 197, 66);
/* oklch */ color: oklch(79.4% 0.151 112.3);
Tailwind
colors: {
  custom: {
    50: '#d5d67e',
    500: '#bec542',
    950: '#000000',
  },
}
SCSS
$custom: #bec542;
$custom-light: #d5d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#bec542",
  "rgb": {
    "r": 190,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 63.206,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79392,
    "c": 0.15078,
    "h": 112.3
  },
  "luminance": 0.51273
}

Semantic roles & 50–950 ramp

primary
#BEC542
secondary
#393675
accent
#4BDC53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC542

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

Preview Lab → · Contrast checker → · Palette generator →

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