#BAD796#BAD796

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

Color values

HEX#BAD796
RGBrgb(186, 215, 150)
HSLhsl(87, 45%, 72%)
HSVhsv(87, 30%, 84%)
CMYKcmyk(13.5%, 0%, 30.2%, 15.7%)
CIE-LABlab(82.51, -20.83, 28.99)
CIE-LCHlch(82.51, 35.70, 125.70°)
OKLaboklab(84.18% -0.0564 0.0727)
OKLCHoklch(84.18% 0.092 127.8)
XYZxyz(50.0544, 61.2416, 38.0320)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAD796 #B396D7
analogous
#D7D496 #BAD796 #9AD796
triadic
#BAD796 #96BAD7 #D796BA
tetradic
#BAD796 #96D7D4 #B396D7 #D7969A
square
#BAD796 #96D7D4 #B396D7 #D7969A
split-complementary
#BAD796 #969AD7 #D496D7
monochromatic
#7FB043 #9DC66A #BAD796 #D7E8C2 #F0F7E9

Accessibility & contrast

On white

1.59
#BAD796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAD796#FFFFFF#000000##000000
##BAD7961.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bad796;
/* rgb */ color: rgb(186, 215, 150);
/* oklch */ color: oklch(84.2% 0.092 127.8);
Tailwind
colors: {
  custom: {
    50: '#cfe3b5',
    500: '#bad796',
    950: '#000000',
  },
}
SCSS
$custom: #bad796;
$custom-light: #cfe3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bad796",
  "rgb": {
    "r": 186,
    "g": 215,
    "b": 150
  },
  "hsl": {
    "h": 86.769,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.84183,
    "c": 0.09199,
    "h": 127.8
  },
  "luminance": 0.61242
}

Semantic roles & 50–950 ramp

primary
#BAD796
secondary
#8563AE
accent
#2EB86B
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #BAD796

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

Preview Lab → · Contrast checker → · Palette generator →

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