#BAF989#BAF989

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

Color values

HEX#BAF989
RGBrgb(186, 249, 137)
HSLhsl(94, 90%, 76%)
HSVhsv(94, 45%, 98%)
CMYKcmyk(25.3%, 0%, 45%, 2.4%)
CIE-LABlab(91.68, -38.50, 47.35)
CIE-LCHlch(91.68, 61.02, 129.11°)
OKLaboklab(91.5% -0.1061 0.1147)
OKLCHoklch(91.5% 0.156 132.8)
XYZxyz(58.6397, 79.9950, 36.0131)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF989 #C889F9
analogous
#F2F989 #BAF989 #89F990
triadic
#BAF989 #89BAF9 #F989BA
tetradic
#BAF989 #89F2F9 #C889F9 #F99089
square
#BAF989 #89F2F9 #C889F9 #F99089
split-complementary
#BAF989 #9089F9 #F989F2
monochromatic
#76F315 #98F64F #BAF989 #DCFCC3 #EEFEE2

Accessibility & contrast

On white

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

On black

17.00
#BAF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF989
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF989#FFFFFF#000000##000000
##BAF9891.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf989;
/* rgb */ color: rgb(186, 249, 137);
/* oklch */ color: oklch(91.5% 0.156 132.8);
Tailwind
colors: {
  custom: {
    50: '#d1fbad',
    500: '#baf989',
    950: '#000000',
  },
}
SCSS
$custom: #baf989;
$custom-light: #d1fbad;
$custom-dark: #000000;
JSON
{
  "hex": "#baf989",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 93.75,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91496,
    "c": 0.15626,
    "h": 132.8
  },
  "luminance": 0.79997
}

Semantic roles & 50–950 ramp

primary
#BAF989
secondary
#9C4FD7
accent
#00E681
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF989

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

Preview Lab → · Contrast checker → · Palette generator →

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