#BBD797#BBD797

#BBD797 is a very light, moderate yellow-green. Relative luminance 0.614; OKLCH L 84.3% C 0.090 H 127.4°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#BBD797
RGBrgb(187, 215, 151)
HSLhsl(86, 44%, 72%)
HSVhsv(86, 30%, 84%)
CMYKcmyk(13%, 0%, 29.8%, 15.7%)
CIE-LABlab(82.59, -20.33, 28.60)
CIE-LCHlch(82.59, 35.09, 125.40°)
OKLaboklab(84.27% -0.0549 0.0718)
OKLCHoklch(84.27% 0.09 127.4)
XYZxyz(50.3791, 61.3996, 38.4693)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBD797 #B397D7
analogous
#D7D397 #BBD797 #9BD797
triadic
#BBD797 #97BBD7 #D797BB
tetradic
#BBD797 #97D7D3 #B397D7 #D7979B
square
#BBD797 #97D7D3 #B397D7 #D7979B
split-complementary
#BBD797 #979BD7 #D397D7
monochromatic
#81B044 #9EC66B #BBD797 #D8E8C3 #F1F6E9

Accessibility & contrast

On white

1.58
#BBD797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#BBD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBD797
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBD797#FFFFFF#000000##000000
##BBD7971.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#D9CD9A
Tritanopia (blue-blind)
#BED1C6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #bbd797;
/* rgb */ color: rgb(187, 215, 151);
/* oklch */ color: oklch(84.3% 0.090 127.4);
Tailwind
colors: {
  custom: {
    50: '#d0e3b6',
    500: '#bbd797',
    950: '#000000',
  },
}
SCSS
$custom: #bbd797;
$custom-light: #d0e3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bbd797",
  "rgb": {
    "r": 187,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 86.25,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84273,
    "c": 0.09039,
    "h": 127.4
  },
  "luminance": 0.614
}

Semantic roles & 50–950 ramp

primary
#BBD797
secondary
#8564AE
accent
#2EB86A
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #BBD797

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

Preview Lab → · Contrast checker → · Palette generator →

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