#BEC978#BEC978

#BEC978 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.105 H 115.1°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#BEC978
RGBrgb(190, 201, 120)
HSLhsl(68, 43%, 63%)
HSVhsv(68, 40%, 79%)
CMYKcmyk(5.5%, 0%, 40.3%, 21.2%)
CIE-LABlab(78.51, -16.18, 39.17)
CIE-LCHlch(78.51, 42.38, 112.45°)
OKLaboklab(80.9% -0.0447 0.0954)
OKLCHoklch(80.9% 0.105 115.1)
XYZxyz(45.5123, 54.0770, 25.8060)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC978 #8378C9
analogous
#C9AB78 #BEC978 #95C978
triadic
#BEC978 #78BEC9 #C978BE
tetradic
#BEC978 #78C9AB #8378C9 #C97895
square
#BEC978 #78C9AB #8378C9 #C97895
split-complementary
#BEC978 #7895C9 #AB78C9
monochromatic
#828E39 #A9B84C #BEC978 #D3DAA4 #E8ECCF

Accessibility & contrast

On white

1.78
#BEC978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#BEC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC978
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC978#FFFFFF#000000##000000
##BEC9781.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C272
Deuteranopia (green-blind)
#D3C37C
Tritanopia (blue-blind)
#C7C1B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bec978;
/* rgb */ color: rgb(190, 201, 120);
/* oklch */ color: oklch(80.9% 0.105 115.1);
Tailwind
colors: {
  custom: {
    50: '#d3d9a0',
    500: '#bec978',
    950: '#000000',
  },
}
SCSS
$custom: #bec978;
$custom-light: #d3d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bec978",
  "rgb": {
    "r": 190,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 68.148,
    "s": 42.857,
    "l": 62.941
  },
  "oklch": {
    "l": 0.80904,
    "c": 0.10532,
    "h": 115.1
  },
  "luminance": 0.54077
}

Semantic roles & 50–950 ramp

primary
#BEC978
secondary
#5A5095
accent
#30B642
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #BEC978

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

Preview Lab → · Contrast checker → · Palette generator →

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