#BAF15F#BAF15F

#BAF15F is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.2% C 0.183 H 127.2°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#BAF15F
RGBrgb(186, 241, 95)
HSLhsl(83, 84%, 66%)
HSVhsv(83, 61%, 95%)
CMYKcmyk(22.8%, 0%, 60.6%, 5.5%)
CIE-LABlab(89.01, -39.08, 63.14)
CIE-LCHlch(89.01, 74.25, 121.76°)
OKLaboklab(89.19% -0.1108 0.1458)
OKLCHoklch(89.19% 0.183 127.2)
XYZxyz(53.7705, 74.1750, 22.3086)
Luminance0.7418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF15F #965FF1
analogous
#F1DF5F #BAF15F #71F15F
triadic
#BAF15F #5FBAF1 #F15FBA
tetradic
#BAF15F #5FF1DF #965FF1 #F15F71
square
#BAF15F #5FF1DF #965FF1 #F15F71
split-complementary
#BAF15F #5F71F1 #DF5FF1
monochromatic
#81C411 #A2EC27 #BAF15F #D2F697 #EBFBD0

Accessibility & contrast

On white

1.33
#BAF15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#BAF15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF15F
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF15F#FFFFFF#000000##000000
##BAF15F1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE24E
Deuteranopia (green-blind)
#F5DF6A
Tritanopia (blue-blind)
#C0E7D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf15f;
/* rgb */ color: rgb(186, 241, 95);
/* oklch */ color: oklch(89.2% 0.183 127.2);
Tailwind
colors: {
  custom: {
    50: '#d2f692',
    500: '#baf15f',
    950: '#000000',
  },
}
SCSS
$custom: #baf15f;
$custom-light: #d2f692;
$custom-dark: #000000;
JSON
{
  "hex": "#baf15f",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 95
  },
  "hsl": {
    "h": 82.603,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89185,
    "c": 0.18309,
    "h": 127.2
  },
  "luminance": 0.74176
}

Semantic roles & 50–950 ramp

primary
#BAF15F
secondary
#6832C2
accent
#05E058
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF15F

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

Preview Lab → · Contrast checker → · Palette generator →

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