#BEC271#BEC271

#BEC271 is a light, moderate yellow. Relative luminance 0.507; OKLCH L 79.3% C 0.104 H 111.0°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#BEC271
RGBrgb(190, 194, 113)
HSLhsl(63, 40%, 60%)
HSVhsv(63, 42%, 76%)
CMYKcmyk(2.1%, 0%, 41.8%, 23.9%)
CIE-LABlab(76.51, -13.41, 40.19)
CIE-LCHlch(76.51, 42.37, 108.46°)
OKLaboklab(79.28% -0.0373 0.0973)
OKLCHoklch(79.28% 0.104 111)
XYZxyz(43.5082, 50.7237, 23.1183)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC271 #7571C2
analogous
#C29D71 #BEC271 #95C271
triadic
#BEC271 #71BEC2 #C271BE
tetradic
#BEC271 #71C29D #7571C2 #C27195
square
#BEC271 #71C29D #7571C2 #C27195
split-complementary
#BEC271 #7195C2 #9D71C2
monochromatic
#7D8137 #A7AC4A #BEC271 #D2D49C #E5E7C7

Accessibility & contrast

On white

1.88
#BEC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#BEC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC271
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC271#FFFFFF#000000##000000
##BEC2711.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#CEBE75
Tritanopia (blue-blind)
#C8B9AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bec271;
/* rgb */ color: rgb(190, 194, 113);
/* oklch */ color: oklch(79.3% 0.104 111.0);
Tailwind
colors: {
  custom: {
    50: '#d3d49b',
    500: '#bec271',
    950: '#000000',
  },
}
SCSS
$custom: #bec271;
$custom-light: #d3d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#bec271",
  "rgb": {
    "r": 190,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 62.963,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79282,
    "c": 0.1042,
    "h": 111
  },
  "luminance": 0.50723
}

Semantic roles & 50–950 ramp

primary
#BEC271
secondary
#514E8A
accent
#33B339
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BEC271

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

Preview Lab → · Contrast checker → · Palette generator →

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