#BEC127#BEC127

#BEC127 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.162 H 110.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#BEC127
RGBrgb(190, 193, 39)
HSLhsl(61, 66%, 45%)
HSVhsv(61, 80%, 76%)
CMYKcmyk(1.6%, 0%, 79.8%, 24.3%)
CIE-LABlab(75.60, -18.03, 69.91)
CIE-LCHlch(75.60, 72.20, 104.46°)
OKLaboklab(78.35% -0.0575 0.1515)
OKLCHoklch(78.35% 0.162 110.8)
XYZxyz(40.6729, 49.2347, 9.2798)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC127 #2A27C1
analogous
#C17727 #BEC127 #71C127
triadic
#BEC127 #27BEC1 #C127BE
tetradic
#BEC127 #27C177 #2A27C1 #C12771
square
#BEC127 #27C177 #2A27C1 #C12771
split-complementary
#BEC127 #2771C1 #7727C1
monochromatic
#5A5B12 #8C8E1D #BEC127 #D8DB4B #E3E57E

Accessibility & contrast

On white

1.94
#BEC127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#BEC127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC127
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC127#FFFFFF#000000##000000
##BEC1271.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D2BC36
Tritanopia (blue-blind)
#CCB4A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bec127;
/* rgb */ color: rgb(190, 193, 39);
/* oklch */ color: oklch(78.3% 0.162 110.8);
Tailwind
colors: {
  custom: {
    50: '#d6d370',
    500: '#bec127',
    950: '#000000',
  },
}
SCSS
$custom: #bec127;
$custom-light: #d6d370;
$custom-dark: #000000;
JSON
{
  "hex": "#bec127",
  "rgb": {
    "r": 190,
    "g": 193,
    "b": 39
  },
  "hsl": {
    "h": 61.169,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.78346,
    "c": 0.16205,
    "h": 110.8
  },
  "luminance": 0.49234
}

Semantic roles & 50–950 ramp

primary
#BEC127
secondary
#7877CD
accent
#3EE942
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BEC127

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

Preview Lab → · Contrast checker → · Palette generator →

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