#BAF596#BAF596

#BAF596 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 90.8% C 0.137 H 134.4°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#BAF596
RGBrgb(186, 245, 150)
HSLhsl(97, 83%, 77%)
HSVhsv(97, 39%, 96%)
CMYKcmyk(24.1%, 0%, 38.8%, 3.9%)
CIE-LABlab(90.75, -35.06, 39.85)
CIE-LCHlch(90.75, 53.08, 131.34°)
OKLaboklab(90.81% -0.096 0.0982)
OKLCHoklch(90.81% 0.137 134.4)
XYZxyz(58.4058, 77.9444, 40.8158)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF596 #D196F5
analogous
#EAF596 #BAF596 #96F5A1
triadic
#BAF596 #96BAF5 #F596BA
tetradic
#BAF596 #96EAF5 #D196F5 #F5A196
square
#BAF596 #96EAF5 #D196F5 #F5A196
split-complementary
#BAF596 #A196F5 #F596EA
monochromatic
#71EA26 #95F05E #BAF596 #DFFACE #EDFCE3

Accessibility & contrast

On white

1.27
#BAF596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#BAF596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF596
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF596#FFFFFF#000000##000000
##BAF5961.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#F3E39B
Tritanopia (blue-blind)
#BAEEDD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf596;
/* rgb */ color: rgb(186, 245, 150);
/* oklch */ color: oklch(90.8% 0.137 134.4);
Tailwind
colors: {
  custom: {
    50: '#d0f8b6',
    500: '#baf596',
    950: '#000000',
  },
}
SCSS
$custom: #baf596;
$custom-light: #d0f8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#baf596",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 97.263,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.90806,
    "c": 0.13731,
    "h": 134.4
  },
  "luminance": 0.77946
}

Semantic roles & 50–950 ramp

primary
#BAF596
secondary
#A65CD3
accent
#06DF8D
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAF596

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

Preview Lab → · Contrast checker → · Palette generator →

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