#BFC797#BFC797

#BFC797 is a light, moderate yellow-green. Relative luminance 0.542; OKLCH L 81.1% C 0.065 H 115.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#BFC797
RGBrgb(191, 199, 151)
HSLhsl(70, 30%, 69%)
HSVhsv(70, 24%, 78%)
CMYKcmyk(4%, 0%, 24.1%, 22%)
CIE-LABlab(78.55, -10.79, 23.18)
CIE-LCHlch(78.55, 25.57, 114.96°)
OKLaboklab(81.13% -0.0281 0.0587)
OKLCHoklch(81.13% 0.065 115.6)
XYZxyz(47.4948, 54.1579, 37.2236)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFC797 #9F97C7
analogous
#C7B797 #BFC797 #A7C797
triadic
#BFC797 #97BFC7 #C797BF
tetradic
#BFC797 #97C7B7 #9F97C7 #C797A7
square
#BFC797 #97C7B7 #9F97C7 #C797A7
split-complementary
#BFC797 #97A7C7 #B797C7
monochromatic
#899450 #A7B26F #BFC797 #D7DCBF #F0F2E7

Accessibility & contrast

On white

1.77
#BFC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#BFC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFC797
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFC797#FFFFFF#000000##000000
##BFC7971.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEC294
Deuteranopia (green-blind)
#CDC399
Tritanopia (blue-blind)
#C4C2BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bfc797;
/* rgb */ color: rgb(191, 199, 151);
/* oklch */ color: oklch(81.1% 0.065 115.6);
Tailwind
colors: {
  custom: {
    50: '#d2d8b5',
    500: '#bfc797',
    950: '#000000',
  },
}
SCSS
$custom: #bfc797;
$custom-light: #d2d8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bfc797",
  "rgb": {
    "r": 191,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 70,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.81127,
    "c": 0.06509,
    "h": 115.6
  },
  "luminance": 0.54158
}

Semantic roles & 50–950 ramp

primary
#BFC797
secondary
#6F679C
accent
#3DA94F
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #BFC797

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

Preview Lab → · Contrast checker → · Palette generator →

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