#BAF95A#BAF95A

#BAF95A is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.0% C 0.197 H 128.3°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#BAF95A
RGBrgb(186, 249, 90)
HSLhsl(84, 93%, 66%)
HSVhsv(84, 64%, 98%)
CMYKcmyk(25.3%, 0%, 63.9%, 2.4%)
CIE-LABlab(91.20, -42.98, 67.55)
CIE-LCHlch(91.20, 80.06, 122.47°)
OKLaboklab(90.95% -0.122 0.1545)
OKLCHoklch(90.95% 0.197 128.3)
XYZxyz(55.9707, 78.9274, 21.9565)
Luminance0.7893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF95A #995AF9
analogous
#F9E95A #BAF95A #6BF95A
triadic
#BAF95A #5ABAF9 #F95ABA
tetradic
#BAF95A #5AF9E9 #995AF9 #F95A6B
square
#BAF95A #5AF9E9 #995AF9 #F95A6B
split-complementary
#BAF95A #5A6BF9 #E95AF9
monochromatic
#81D108 #A1F71F #BAF95A #D3FB95 #EBFDD0

Accessibility & contrast

On white

1.25
#BAF95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#BAF95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF95A
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF95A#FFFFFF#000000##000000
##BAF95A1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE945
Deuteranopia (green-blind)
#FCE466
Tritanopia (blue-blind)
#C0EED8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf95a;
/* rgb */ color: rgb(186, 249, 90);
/* oklch */ color: oklch(91.0% 0.197 128.3);
Tailwind
colors: {
  custom: {
    50: '#d2fb8f',
    500: '#baf95a',
    950: '#000000',
  },
}
SCSS
$custom: #baf95a;
$custom-light: #d2fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf95a",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 90
  },
  "hsl": {
    "h": 83.774,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90951,
    "c": 0.19685,
    "h": 128.3
  },
  "luminance": 0.78929
}

Semantic roles & 50–950 ramp

primary
#BAF95A
secondary
#6B2BCC
accent
#00E65B
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF95A

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

Preview Lab → · Contrast checker → · Palette generator →

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