#BBC797#BBC797

#BBC797 is a light, moderate yellow-green. Relative luminance 0.536; OKLCH L 80.8% C 0.066 H 119.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#BBC797
RGBrgb(187, 199, 151)
HSLhsl(75, 30%, 69%)
HSVhsv(75, 24%, 78%)
CMYKcmyk(6%, 0%, 24.1%, 22%)
CIE-LABlab(78.25, -12.28, 22.72)
CIE-LCHlch(78.25, 25.83, 118.40°)
OKLaboklab(80.82% -0.0323 0.0576)
OKLCHoklch(80.82% 0.066 119.3)
XYZxyz(46.5024, 53.6461, 37.1771)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC797 #A397C7
analogous
#C7BB97 #BBC797 #A3C797
triadic
#BBC797 #97BBC7 #C797BB
tetradic
#BBC797 #97C7BB #A397C7 #C797A3
square
#BBC797 #97C7BB #A397C7 #C797A3
split-complementary
#BBC797 #97A3C7 #BB97C7
monochromatic
#839450 #A1B26F #BBC797 #D5DCBF #EFF2E7

Accessibility & contrast

On white

1.79
#BBC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#BBC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC797
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC797#FFFFFF#000000##000000
##BBC7971.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC294
Deuteranopia (green-blind)
#CCC299
Tritanopia (blue-blind)
#C0C2BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bbc797;
/* rgb */ color: rgb(187, 199, 151);
/* oklch */ color: oklch(80.8% 0.066 119.3);
Tailwind
colors: {
  custom: {
    50: '#cfd8b5',
    500: '#bbc797',
    950: '#000000',
  },
}
SCSS
$custom: #bbc797;
$custom-light: #cfd8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc797",
  "rgb": {
    "r": 187,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 75,
    "s": 30,
    "l": 68.627
  },
  "oklch": {
    "l": 0.80816,
    "c": 0.06606,
    "h": 119.3
  },
  "luminance": 0.53646
}

Semantic roles & 50–950 ramp

primary
#BBC797
secondary
#74679C
accent
#3DA958
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141411
muted
#838381

Preview Lab

Preview with #BBC797

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

Preview Lab → · Contrast checker → · Palette generator →

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