#BEC938#BEC938

#BEC938 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.2% C 0.161 H 113.8°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#BEC938
RGBrgb(190, 201, 56)
HSLhsl(65, 57%, 50%)
HSVhsv(65, 72%, 79%)
CMYKcmyk(5.5%, 0%, 72.1%, 21.2%)
CIE-LABlab(77.88, -21.30, 66.74)
CIE-LCHlch(77.88, 70.05, 107.70°)
OKLaboklab(80.2% -0.0652 0.1477)
OKLCHoklch(80.2% 0.161 113.8)
XYZxyz(42.8369, 53.0068, 11.7154)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC938 #4338C9
analogous
#C98C38 #BEC938 #75C938
triadic
#BEC938 #38BEC9 #C938BE
tetradic
#BEC938 #38C98C #4338C9 #C93875
square
#BEC938 #38C98C #4338C9 #C93875
split-complementary
#BEC938 #3875C9 #8C38C9
monochromatic
#646A1D #919A2A #BEC938 #CED668 #DDE398

Accessibility & contrast

On white

1.81
#BEC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#BEC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC938
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC938#FFFFFF#000000##000000
##BEC9381.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#CBBDAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bec938;
/* rgb */ color: rgb(190, 201, 56);
/* oklch */ color: oklch(80.2% 0.161 113.8);
Tailwind
colors: {
  custom: {
    50: '#d5d979',
    500: '#bec938',
    950: '#000000',
  },
}
SCSS
$custom: #bec938;
$custom-light: #d5d979;
$custom-dark: #000000;
JSON
{
  "hex": "#bec938",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 64.552,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.802,
    "c": 0.16149,
    "h": 113.8
  },
  "luminance": 0.53006
}

Semantic roles & 50–950 ramp

primary
#BEC938
secondary
#363174
accent
#47E153
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BEC938

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

Preview Lab → · Contrast checker → · Palette generator →

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