#BAD797#BAD797

#BAD797 is a very light, moderate yellow-green. Relative luminance 0.613; OKLCH L 84.2% C 0.091 H 128.0°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#BAD797
RGBrgb(186, 215, 151)
HSLhsl(87, 44%, 72%)
HSVhsv(87, 30%, 84%)
CMYKcmyk(13.5%, 0%, 29.8%, 15.7%)
CIE-LABlab(82.53, -20.69, 28.50)
CIE-LCHlch(82.53, 35.22, 125.98°)
OKLaboklab(84.2% -0.0559 0.0715)
OKLCHoklch(84.2% 0.091 128)
XYZxyz(50.1353, 61.2739, 38.4579)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD797 #B497D7
analogous
#D7D497 #BAD797 #9AD797
triadic
#BAD797 #97BAD7 #D797BA
tetradic
#BAD797 #97D7D4 #B497D7 #D7979A
square
#BAD797 #97D7D4 #B497D7 #D7979A
split-complementary
#BAD797 #979AD7 #D497D7
monochromatic
#7FB044 #9DC66B #BAD797 #D7E8C3 #F0F6E9

Accessibility & contrast

On white

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

On black

13.25
#BAD797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD797
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD797#FFFFFF#000000##000000
##BAD7971.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCF93
Deuteranopia (green-blind)
#D9CD9A
Tritanopia (blue-blind)
#BDD1C6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #bad797;
/* rgb */ color: rgb(186, 215, 151);
/* oklch */ color: oklch(84.2% 0.091 128.0);
Tailwind
colors: {
  custom: {
    50: '#cfe3b6',
    500: '#bad797',
    950: '#000000',
  },
}
SCSS
$custom: #bad797;
$custom-light: #cfe3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bad797",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 87.188,
    "s": 44.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84202,
    "c": 0.09081,
    "h": 128
  },
  "luminance": 0.61274
}

Semantic roles & 50–950 ramp

primary
#BAD797
secondary
#8664AE
accent
#2EB86C
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #BAD797

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

Preview Lab → · Contrast checker → · Palette generator →

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