#BEC952#BEC952

#BEC952 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.4% C 0.143 H 114.1°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#BEC952
RGBrgb(190, 201, 82)
HSLhsl(66, 52%, 55%)
HSVhsv(66, 59%, 79%)
CMYKcmyk(5.5%, 0%, 59.2%, 21.2%)
CIE-LABlab(78.07, -19.72, 56.70)
CIE-LCHlch(78.07, 60.04, 109.18°)
OKLaboklab(80.41% -0.0583 0.1305)
OKLCHoklch(80.41% 0.143 114.1)
XYZxyz(43.6458, 53.3304, 15.9756)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC952 #5D52C9
analogous
#C99852 #BEC952 #82C952
triadic
#BEC952 #52BEC9 #C952BE
tetradic
#BEC952 #52C998 #5D52C9 #C95282
square
#BEC952 #52C998 #5D52C9 #C95282
split-complementary
#BEC952 #5282C9 #9852C9
monochromatic
#737A26 #9EA935 #BEC952 #D0D881 #E1E6AF

Accessibility & contrast

On white

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

On black

11.67
#BEC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC952
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC952#FFFFFF#000000##000000
##BEC9521.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#C9BEB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bec952;
/* rgb */ color: rgb(190, 201, 82);
/* oklch */ color: oklch(80.4% 0.143 114.1);
Tailwind
colors: {
  custom: {
    50: '#d4d987',
    500: '#bec952',
    950: '#000000',
  },
}
SCSS
$custom: #bec952;
$custom-light: #d4d987;
$custom-dark: #000000;
JSON
{
  "hex": "#bec952",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 65.546,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80413,
    "c": 0.1429,
    "h": 114.1
  },
  "luminance": 0.5333
}

Semantic roles & 50–950 ramp

primary
#BEC952
secondary
#433D83
accent
#4CDC59
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #BEC952

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

Preview Lab → · Contrast checker → · Palette generator →

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