#BEC371#BEC371

#BEC371 is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.5% C 0.105 H 111.6°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#BEC371
RGBrgb(190, 195, 113)
HSLhsl(64, 41%, 60%)
HSVhsv(64, 42%, 76%)
CMYKcmyk(2.6%, 0%, 42.1%, 23.5%)
CIE-LABlab(76.78, -13.92, 40.53)
CIE-LCHlch(76.78, 42.85, 108.96°)
OKLaboklab(79.5% -0.0388 0.098)
OKLCHoklch(79.5% 0.105 111.6)
XYZxyz(43.7315, 51.1703, 23.1927)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC371 #7671C3
analogous
#C39F71 #BEC371 #95C371
triadic
#BEC371 #71BEC3 #C371BE
tetradic
#BEC371 #71C39F #7671C3 #C37195
square
#BEC371 #71C39F #7671C3 #C37195
split-complementary
#BEC371 #7195C3 #9F71C3
monochromatic
#7E8237 #A7AD49 #BEC371 #D2D59C #E5E7C7

Accessibility & contrast

On white

1.87
#BEC371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#BEC371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC371
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC371#FFFFFF#000000##000000
##BEC3711.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6A
Deuteranopia (green-blind)
#CFBF75
Tritanopia (blue-blind)
#C8BAAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bec371;
/* rgb */ color: rgb(190, 195, 113);
/* oklch */ color: oklch(79.5% 0.105 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d59b',
    500: '#bec371',
    950: '#000000',
  },
}
SCSS
$custom: #bec371;
$custom-light: #d3d59b;
$custom-dark: #000000;
JSON
{
  "hex": "#bec371",
  "rgb": {
    "r": 190,
    "g": 195,
    "b": 113
  },
  "hsl": {
    "h": 63.659,
    "s": 40.594,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79498,
    "c": 0.10544,
    "h": 111.6
  },
  "luminance": 0.5117
}

Semantic roles & 50–950 ramp

primary
#BEC371
secondary
#514D8B
accent
#32B43A
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BEC371

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

Preview Lab → · Contrast checker → · Palette generator →

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