#BEC742#BEC742

#BEC742 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.153 H 113.1°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#BEC742
RGBrgb(190, 199, 66)
HSLhsl(64, 54%, 52%)
HSVhsv(64, 67%, 78%)
CMYKcmyk(4.5%, 0%, 66.8%, 22%)
CIE-LABlab(77.39, -19.78, 62.59)
CIE-LCHlch(77.39, 65.64, 107.54°)
OKLaboklab(79.83% -0.0601 0.1407)
OKLCHoklch(79.83% 0.153 113.1)
XYZxyz(42.6432, 52.1882, 12.9802)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC742 #4B42C7
analogous
#C78E42 #BEC742 #7CC742
triadic
#BEC742 #42BEC7 #C742BE
tetradic
#BEC742 #42C78E #4B42C7 #C7427C
square
#BEC742 #42C78E #4B42C7 #C7427C
split-complementary
#BEC742 #427CC7 #8E42C7
monochromatic
#696E21 #969D2F #BEC742 #CED571 #DEE3A0

Accessibility & contrast

On white

1.84
#BEC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#BEC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC742
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC742#FFFFFF#000000##000000
##BEC7421.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2E
Deuteranopia (green-blind)
#D5C14B
Tritanopia (blue-blind)
#CABBAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bec742;
/* rgb */ color: rgb(190, 199, 66);
/* oklch */ color: oklch(79.8% 0.153 113.1);
Tailwind
colors: {
  custom: {
    50: '#d5d77e',
    500: '#bec742',
    950: '#000000',
  },
}
SCSS
$custom: #bec742;
$custom-light: #d5d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#bec742",
  "rgb": {
    "r": 190,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 64.06,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79831,
    "c": 0.15294,
    "h": 113.1
  },
  "luminance": 0.52187
}

Semantic roles & 50–950 ramp

primary
#BEC742
secondary
#3A3678
accent
#4ADE54
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC742

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

Preview Lab → · Contrast checker → · Palette generator →

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