#BAF98A#BAF98A

#BAF98A is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.5% C 0.155 H 132.9°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#BAF98A
RGBrgb(186, 249, 138)
HSLhsl(94, 90%, 76%)
HSVhsv(94, 45%, 98%)
CMYKcmyk(25.3%, 0%, 44.6%, 2.4%)
CIE-LABlab(91.70, -38.38, 46.88)
CIE-LCHlch(91.70, 60.59, 129.30°)
OKLaboklab(91.51% -0.1057 0.1137)
OKLCHoklch(91.51% 0.155 132.9)
XYZxyz(58.7117, 80.0239, 36.3926)
Luminance0.8003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF98A #C98AF9
analogous
#F1F98A #BAF98A #8AF991
triadic
#BAF98A #8ABAF9 #F98ABA
tetradic
#BAF98A #8AF1F9 #C98AF9 #F9918A
square
#BAF98A #8AF1F9 #C98AF9 #F9918A
split-complementary
#BAF98A #918AF9 #F98AF1
monochromatic
#75F316 #98F650 #BAF98A #DCFCC4 #EEFEE2

Accessibility & contrast

On white

1.23
#BAF98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#BAF98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF98A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF98A#FFFFFF#000000##000000
##BAF98A1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA81
Deuteranopia (green-blind)
#F8E591
Tritanopia (blue-blind)
#BBF1DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf98a;
/* rgb */ color: rgb(186, 249, 138);
/* oklch */ color: oklch(91.5% 0.155 132.9);
Tailwind
colors: {
  custom: {
    50: '#d1fbae',
    500: '#baf98a',
    950: '#000000',
  },
}
SCSS
$custom: #baf98a;
$custom-light: #d1fbae;
$custom-dark: #000000;
JSON
{
  "hex": "#baf98a",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 138
  },
  "hsl": {
    "h": 94.054,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91511,
    "c": 0.15528,
    "h": 132.9
  },
  "luminance": 0.80025
}

Semantic roles & 50–950 ramp

primary
#BAF98A
secondary
#9D50D7
accent
#00E682
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF98A

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

Preview Lab → · Contrast checker → · Palette generator →

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