#BAF259#BAF259

#BAF259 is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.4% C 0.189 H 127.0°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#BAF259
RGBrgb(186, 242, 89)
HSLhsl(82, 85%, 65%)
HSVhsv(82, 63%, 95%)
CMYKcmyk(23.1%, 0%, 63.2%, 5.1%)
CIE-LABlab(89.24, -39.98, 65.84)
CIE-LCHlch(89.24, 77.03, 121.27°)
OKLaboklab(89.36% -0.1138 0.1508)
OKLCHoklch(89.36% 0.189 127)
XYZxyz(53.8050, 74.6637, 21.0261)
Luminance0.7467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF259 #9159F2
analogous
#F2DE59 #BAF259 #6DF259
triadic
#BAF259 #59BAF2 #F259BA
tetradic
#BAF259 #59F2DE #9159F2 #F2596D
square
#BAF259 #59F2DE #9159F2 #F2596D
split-complementary
#BAF259 #596DF2 #DE59F2
monochromatic
#80C10F #A2EE20 #BAF259 #D2F692 #E9FBCB

Accessibility & contrast

On white

1.32
#BAF259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#BAF259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF259
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF259#FFFFFF#000000##000000
##BAF2591.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE246
Deuteranopia (green-blind)
#F6DF65
Tritanopia (blue-blind)
#C1E7D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf259;
/* rgb */ color: rgb(186, 242, 89);
/* oklch */ color: oklch(89.4% 0.189 127.0);
Tailwind
colors: {
  custom: {
    50: '#d2f68e',
    500: '#baf259',
    950: '#000000',
  },
}
SCSS
$custom: #baf259;
$custom-light: #d2f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf259",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 81.961,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89356,
    "c": 0.1889,
    "h": 127
  },
  "luminance": 0.74665
}

Semantic roles & 50–950 ramp

primary
#BAF259
secondary
#6430BF
accent
#04E255
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF259

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

Preview Lab → · Contrast checker → · Palette generator →

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