#BAF897#BAF897

#BAF897 is a very light, vivid yellow-green. Relative luminance 0.798; OKLCH L 91.5% C 0.141 H 134.9°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#BAF897
RGBrgb(186, 248, 151)
HSLhsl(98, 87%, 78%)
HSVhsv(98, 39%, 97%)
CMYKcmyk(25%, 0%, 39.1%, 2.7%)
CIE-LABlab(91.60, -36.30, 40.45)
CIE-LCHlch(91.60, 54.35, 131.90°)
OKLaboklab(91.49% -0.0994 0.0996)
OKLCHoklch(91.49% 0.141 134.9)
XYZxyz(59.4016, 79.8066, 41.5467)
Luminance0.7981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF897 #D597F8
analogous
#EAF897 #BAF897 #97F8A4
triadic
#BAF897 #97BAF8 #F897BA
tetradic
#BAF897 #97EAF8 #D597F8 #F8A497
square
#BAF897 #97EAF8 #D597F8 #F8A497
split-complementary
#BAF897 #A497F8 #F897EA
monochromatic
#6EF024 #94F45E #BAF897 #E0FCD0 #ECFDE2

Accessibility & contrast

On white

1.24
#BAF897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#BAF897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF897
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF897#FFFFFF#000000##000000
##BAF8971.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#BAF1E0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf897;
/* rgb */ color: rgb(186, 248, 151);
/* oklch */ color: oklch(91.5% 0.141 134.9);
Tailwind
colors: {
  custom: {
    50: '#d0fbb6',
    500: '#baf897',
    950: '#000000',
  },
}
SCSS
$custom: #baf897;
$custom-light: #d0fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf897",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 98.351,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.91491,
    "c": 0.1407,
    "h": 134.9
  },
  "luminance": 0.79808
}

Semantic roles & 50–950 ramp

primary
#BAF897
secondary
#AB5CD8
accent
#02E492
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAF897

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

Preview Lab → · Contrast checker → · Palette generator →

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