#BAF160#BAF160

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

Color values

HEX#BAF160
RGBrgb(186, 241, 96)
HSLhsl(83, 84%, 66%)
HSVhsv(83, 60%, 95%)
CMYKcmyk(22.8%, 0%, 60.2%, 5.5%)
CIE-LABlab(89.01, -39.00, 62.73)
CIE-LCHlch(89.01, 73.86, 121.87°)
OKLaboklab(89.2% -0.1105 0.145)
OKLCHoklch(89.2% 0.182 127.3)
XYZxyz(53.8163, 74.1933, 22.5495)
Luminance0.7419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF160 #9760F1
analogous
#F1E060 #BAF160 #71F160
triadic
#BAF160 #60BAF1 #F160BA
tetradic
#BAF160 #60F1E0 #9760F1 #F16071
square
#BAF160 #60F1E0 #9760F1 #F16071
split-complementary
#BAF160 #6071F1 #E060F1
monochromatic
#81C511 #A2EC28 #BAF160 #D2F698 #EBFBD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF160#FFFFFF#000000##000000
##BAF1601.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)
#FCE24F
Deuteranopia (green-blind)
#F5DF6A
Tritanopia (blue-blind)
#C0E7D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf160;
/* rgb */ color: rgb(186, 241, 96);
/* oklch */ color: oklch(89.2% 0.182 127.3);
Tailwind
colors: {
  custom: {
    50: '#d2f692',
    500: '#baf160',
    950: '#000000',
  },
}
SCSS
$custom: #baf160;
$custom-light: #d2f692;
$custom-dark: #000000;
JSON
{
  "hex": "#baf160",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 96
  },
  "hsl": {
    "h": 82.759,
    "s": 83.815,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89195,
    "c": 0.18231,
    "h": 127.3
  },
  "luminance": 0.74194
}

Semantic roles & 50–950 ramp

primary
#BAF160
secondary
#6933C3
accent
#05E058
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF160

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

Preview Lab → · Contrast checker → · Palette generator →

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