#BAF697#BAF697

#BAF697 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.0% C 0.138 H 134.7°. Best body text is #000000 at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#BAF697
RGBrgb(186, 246, 151)
HSLhsl(98, 84%, 78%)
HSVhsv(98, 39%, 96%)
CMYKcmyk(24.4%, 0%, 38.6%, 3.5%)
CIE-LABlab(91.05, -35.39, 39.74)
CIE-LCHlch(91.05, 53.21, 131.69°)
OKLaboklab(91.05% -0.0969 0.098)
OKLCHoklch(91.05% 0.138 134.7)
XYZxyz(58.7900, 78.5834, 41.3428)
Luminance0.7859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF697 #D397F6
analogous
#E9F697 #BAF697 #97F6A3
triadic
#BAF697 #97BAF6 #F697BA
tetradic
#BAF697 #97E9F6 #D397F6 #F6A397
square
#BAF697 #97E9F6 #D397F6 #F6A397
split-complementary
#BAF697 #A397F6 #F697E9
monochromatic
#6FEC26 #95F15F #BAF697 #DFFBCF #ECFDE3

Accessibility & contrast

On white

1.26
#BAF697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.72
#BAF697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF697
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF697#FFFFFF#000000##000000
##BAF6971.001.2616.7216.72
#FFFFFF1.261.0021.0021.00
#00000016.7221.001.001.00
##00000016.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE990
Deuteranopia (green-blind)
#F4E39C
Tritanopia (blue-blind)
#BAEFDE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf697;
/* rgb */ color: rgb(186, 246, 151);
/* oklch */ color: oklch(91.0% 0.138 134.7);
Tailwind
colors: {
  custom: {
    50: '#d0f9b6',
    500: '#baf697',
    950: '#000000',
  },
}
SCSS
$custom: #baf697;
$custom-light: #d0f9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf697",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 97.895,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.91045,
    "c": 0.13775,
    "h": 134.7
  },
  "luminance": 0.78585
}

Semantic roles & 50–950 ramp

primary
#BAF697
secondary
#A85CD5
accent
#05E190
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAF697

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

Preview Lab → · Contrast checker → · Palette generator →

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