#BAF399#BAF399

#BAF399 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.4% C 0.131 H 134.7°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#BAF399
RGBrgb(186, 243, 153)
HSLhsl(98, 79%, 78%)
HSVhsv(98, 37%, 95%)
CMYKcmyk(23.5%, 0%, 37%, 4.7%)
CIE-LABlab(90.25, -33.75, 37.71)
CIE-LCHlch(90.25, 50.60, 131.83°)
OKLaboklab(90.41% -0.0922 0.0933)
OKLCHoklch(90.41% 0.131 134.7)
XYZxyz(58.0487, 76.8387, 41.9038)
Luminance0.7684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF399 #D299F3
analogous
#E7F399 #BAF399 #99F3A5
triadic
#BAF399 #99BAF3 #F399BA
tetradic
#BAF399 #99E7F3 #D299F3 #F3A599
square
#BAF399 #99E7F3 #D299F3 #F3A599
split-complementary
#BAF399 #A599F3 #F399E7
monochromatic
#70E62B #95ED62 #BAF399 #DFF9D0 #ECFCE4

Accessibility & contrast

On white

1.28
#BAF399 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#BAF399 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF399
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF399#FFFFFF#000000##000000
##BAF3991.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE693
Deuteranopia (green-blind)
#F1E19E
Tritanopia (blue-blind)
#BAECDC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf399;
/* rgb */ color: rgb(186, 243, 153);
/* oklch */ color: oklch(90.4% 0.131 134.7);
Tailwind
colors: {
  custom: {
    50: '#d0f7b8',
    500: '#baf399',
    950: '#000000',
  },
}
SCSS
$custom: #baf399;
$custom-light: #d0f7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf399",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 153
  },
  "hsl": {
    "h": 98,
    "s": 78.947,
    "l": 77.647
  },
  "oklch": {
    "l": 0.90411,
    "c": 0.13121,
    "h": 134.7
  },
  "luminance": 0.7684
}

Semantic roles & 50–950 ramp

primary
#BAF399
secondary
#A75FD1
accent
#0ADB8F
background
#FEFFFD
surface
#FBFEF8
border
#D4D6D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAF399

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

Preview Lab → · Contrast checker → · Palette generator →

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