#BAF988#BAF988

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

Color values

HEX#BAF988
RGBrgb(186, 249, 136)
HSLhsl(93, 90%, 75%)
HSVhsv(93, 45%, 98%)
CMYKcmyk(25.3%, 0%, 45.4%, 2.4%)
CIE-LABlab(91.67, -38.62, 47.81)
CIE-LCHlch(91.67, 61.45, 128.93°)
OKLaboklab(91.48% -0.1065 0.1157)
OKLCHoklch(91.48% 0.157 132.6)
XYZxyz(58.5683, 79.9665, 35.6371)
Luminance0.7997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF988 #C788F9
analogous
#F3F988 #BAF988 #88F98E
triadic
#BAF988 #88BAF9 #F988BA
tetradic
#BAF988 #88F3F9 #C788F9 #F98E88
square
#BAF988 #88F3F9 #C788F9 #F98E88
split-complementary
#BAF988 #8E88F9 #F988F3
monochromatic
#76F313 #98F64E #BAF988 #DCFCC2 #EEFEE2

Accessibility & contrast

On white

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

On black

16.99
#BAF988 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF988
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF988#FFFFFF#000000##000000
##BAF9881.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7F
Deuteranopia (green-blind)
#F8E58F
Tritanopia (blue-blind)
#BBF1DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #baf988;
/* rgb */ color: rgb(186, 249, 136);
/* oklch */ color: oklch(91.5% 0.157 132.6);
Tailwind
colors: {
  custom: {
    50: '#d1fbac',
    500: '#baf988',
    950: '#000000',
  },
}
SCSS
$custom: #baf988;
$custom-light: #d1fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#baf988",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 136
  },
  "hsl": {
    "h": 93.451,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91482,
    "c": 0.15725,
    "h": 132.6
  },
  "luminance": 0.79968
}

Semantic roles & 50–950 ramp

primary
#BAF988
secondary
#9A4ED7
accent
#00E680
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF988

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

Preview Lab → · Contrast checker → · Palette generator →

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