#BEC831#BEC831

#BEC831 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.9% C 0.164 H 113.4°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#BEC831
RGBrgb(190, 200, 49)
HSLhsl(64, 61%, 49%)
HSVhsv(64, 76%, 78%)
CMYKcmyk(5%, 0%, 75.5%, 21.6%)
CIE-LABlab(77.57, -21.12, 68.74)
CIE-LCHlch(77.57, 71.92, 107.08°)
OKLaboklab(79.94% -0.0653 0.1508)
OKLCHoklch(79.94% 0.164 113.4)
XYZxyz(42.4452, 52.4784, 10.7985)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC831 #3B31C8
analogous
#C88731 #BEC831 #72C831
triadic
#BEC831 #31BEC8 #C831BE
tetradic
#BEC831 #31C887 #3B31C8 #C83172
square
#BEC831 #31C887 #3B31C8 #C83172
split-complementary
#BEC831 #3172C8 #8731C8
monochromatic
#616619 #8F9725 #BEC831 #D0D85F #DEE490

Accessibility & contrast

On white

1.83
#BEC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#BEC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC831
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC831#FFFFFF#000000##000000
##BEC8311.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE08
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#CBBCAC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bec831;
/* rgb */ color: rgb(190, 200, 49);
/* oklch */ color: oklch(79.9% 0.164 113.4);
Tailwind
colors: {
  custom: {
    50: '#d5d875',
    500: '#bec831',
    950: '#000000',
  },
}
SCSS
$custom: #bec831;
$custom-light: #d5d875;
$custom-dark: #000000;
JSON
{
  "hex": "#bec831",
  "rgb": {
    "r": 190,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 63.974,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79937,
    "c": 0.16432,
    "h": 113.4
  },
  "luminance": 0.52477
}

Semantic roles & 50–950 ramp

primary
#BEC831
secondary
#322D70
accent
#44E44F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BEC831

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

Preview Lab → · Contrast checker → · Palette generator →

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