#BEC796#BEC796

#BEC796 is a light, moderate yellow-green. Relative luminance 0.540; OKLCH L 81.0% C 0.067 H 116.4°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#BEC796
RGBrgb(190, 199, 150)
HSLhsl(71, 30%, 68%)
HSVhsv(71, 25%, 78%)
CMYKcmyk(4.5%, 0%, 24.6%, 22%)
CIE-LABlab(78.46, -11.31, 23.57)
CIE-LCHlch(78.46, 26.14, 115.63°)
OKLaboklab(81.03% -0.0296 0.0597)
OKLCHoklch(81.03% 0.067 116.4)
XYZxyz(47.1633, 53.9963, 36.7860)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BEC796 #9F96C7
analogous
#C7B796 #BEC796 #A5C796
triadic
#BEC796 #96BEC7 #C796BE
tetradic
#BEC796 #96C7B7 #9F96C7 #C796A5
square
#BEC796 #96C7B7 #9F96C7 #C796A5
split-complementary
#BEC796 #96A5C7 #B796C7
monochromatic
#87944F #A5B26E #BEC796 #D7DCBE #EFF2E6

Accessibility & contrast

On white

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

On black

11.80
#BEC796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BEC796
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BEC796#FFFFFF#000000##000000
##BEC7961.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC293
Deuteranopia (green-blind)
#CDC398
Tritanopia (blue-blind)
#C3C1BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bec796;
/* rgb */ color: rgb(190, 199, 150);
/* oklch */ color: oklch(81.0% 0.067 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2d8b5',
    500: '#bec796',
    950: '#000000',
  },
}
SCSS
$custom: #bec796;
$custom-light: #d2d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bec796",
  "rgb": {
    "r": 190,
    "g": 199,
    "b": 150
  },
  "hsl": {
    "h": 71.02,
    "s": 30.435,
    "l": 68.431
  },
  "oklch": {
    "l": 0.81028,
    "c": 0.06658,
    "h": 116.4
  },
  "luminance": 0.53996
}

Semantic roles & 50–950 ramp

primary
#BEC796
secondary
#70669C
accent
#3CA950
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #BEC796

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

Preview Lab → · Contrast checker → · Palette generator →

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