#BEC338#BEC338

#BEC338 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.9% C 0.155 H 111.5°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#BEC338
RGBrgb(190, 195, 56)
HSLhsl(62, 55%, 49%)
HSVhsv(62, 71%, 76%)
CMYKcmyk(2.6%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.23, -18.33, 65.15)
CIE-LCHlch(76.23, 67.68, 105.72°)
OKLaboklab(78.88% -0.057 0.1444)
OKLCHoklch(78.88% 0.155 111.5)
XYZxyz(41.4655, 50.2639, 11.2582)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC338 #3D38C3
analogous
#C38338 #BEC338 #79C338
triadic
#BEC338 #38BEC3 #C338BE
tetradic
#BEC338 #38C383 #3D38C3 #C33879
square
#BEC338 #38C383 #3D38C3 #C33879
split-complementary
#BEC338 #3879C3 #8338C3
monochromatic
#61641D #90932A #BEC338 #CFD365 #DEE195

Accessibility & contrast

On white

1.90
#BEC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#BEC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC338
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC338#FFFFFF#000000##000000
##BEC3381.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1F
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#CBB7A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bec338;
/* rgb */ color: rgb(190, 195, 56);
/* oklch */ color: oklch(78.9% 0.155 111.5);
Tailwind
colors: {
  custom: {
    50: '#d5d478',
    500: '#bec338',
    950: '#000000',
  },
}
SCSS
$custom: #bec338;
$custom-light: #d5d478;
$custom-dark: #000000;
JSON
{
  "hex": "#bec338",
  "rgb": {
    "r": 190,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 62.158,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7888,
    "c": 0.15521,
    "h": 111.5
  },
  "luminance": 0.50263
}

Semantic roles & 50–950 ramp

primary
#BEC338
secondary
#33316E
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BEC338

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

Preview Lab → · Contrast checker → · Palette generator →

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