#BEC252#BEC252

#BEC252 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.9% C 0.135 H 111.0°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#BEC252
RGBrgb(190, 194, 82)
HSLhsl(62, 48%, 54%)
HSVhsv(62, 58%, 76%)
CMYKcmyk(2.1%, 0%, 57.7%, 23.9%)
CIE-LABlab(76.16, -16.23, 54.59)
CIE-LCHlch(76.16, 56.95, 106.56°)
OKLaboklab(78.88% -0.0484 0.126)
OKLCHoklch(78.88% 0.135 111)
XYZxyz(42.0511, 50.1409, 15.4440)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC252 #5652C2
analogous
#C28E52 #BEC252 #86C252
triadic
#BEC252 #52BEC2 #C252BE
tetradic
#BEC252 #52C28E #5652C2 #C25286
square
#BEC252 #52C28E #5652C2 #C25286
split-complementary
#BEC252 #5286C2 #8E52C2
monochromatic
#6F7228 #9B9F38 #BEC252 #CFD27F #E0E2AC

Accessibility & contrast

On white

1.90
#BEC252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#BEC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC252
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC252#FFFFFF#000000##000000
##BEC2521.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D1BD59
Tritanopia (blue-blind)
#CAB7AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bec252;
/* rgb */ color: rgb(190, 194, 82);
/* oklch */ color: oklch(78.9% 0.135 111.0);
Tailwind
colors: {
  custom: {
    50: '#d4d487',
    500: '#bec252',
    950: '#000000',
  },
}
SCSS
$custom: #bec252;
$custom-light: #d4d487;
$custom-dark: #000000;
JSON
{
  "hex": "#bec252",
  "rgb": {
    "r": 190,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 62.143,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78883,
    "c": 0.13496,
    "h": 111
  },
  "luminance": 0.5014
}

Semantic roles & 50–950 ramp

primary
#BEC252
secondary
#3F3D7B
accent
#50D755
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BEC252

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

Preview Lab → · Contrast checker → · Palette generator →

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