#BAD798#BAD798

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

Color values

HEX#BAD798
RGBrgb(186, 215, 152)
HSLhsl(88, 44%, 72%)
HSVhsv(88, 29%, 84%)
CMYKcmyk(13.5%, 0%, 29.3%, 15.7%)
CIE-LABlab(82.54, -20.55, 28.00)
CIE-LCHlch(82.54, 34.73, 126.27°)
OKLaboklab(84.22% -0.0555 0.0704)
OKLCHoklch(84.22% 0.09 128.3)
XYZxyz(50.2168, 61.3065, 38.8874)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD798 #B598D7
analogous
#D7D598 #BAD798 #9BD798
triadic
#BAD798 #98BAD7 #D798BA
tetradic
#BAD798 #98D7D5 #B598D7 #D7989B
square
#BAD798 #98D7D5 #B598D7 #D7989B
split-complementary
#BAD798 #989BD7 #D598D7
monochromatic
#7FB044 #9CC66C #BAD798 #D8E8C4 #F0F6E9

Accessibility & contrast

On white

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

On black

13.26
#BAD798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAD798
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAD798#FFFFFF#000000##000000
##BAD7981.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad798;
/* rgb */ color: rgb(186, 215, 152);
/* oklch */ color: oklch(84.2% 0.090 128.3);
Tailwind
colors: {
  custom: {
    50: '#cfe3b6',
    500: '#bad798',
    950: '#000000',
  },
}
SCSS
$custom: #bad798;
$custom-light: #cfe3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bad798",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 152
  },
  "hsl": {
    "h": 87.619,
    "s": 44.056,
    "l": 71.961
  },
  "oklch": {
    "l": 0.84222,
    "c": 0.08964,
    "h": 128.3
  },
  "luminance": 0.61307
}

Semantic roles & 50–950 ramp

primary
#BAD798
secondary
#8765AE
accent
#2EB76D
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #BAD798

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

Preview Lab → · Contrast checker → · Palette generator →

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