#BAF268#BAF268

#BAF268 is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.5% C 0.177 H 128.1°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#BAF268
RGBrgb(186, 242, 104)
HSLhsl(84, 84%, 68%)
HSVhsv(84, 57%, 95%)
CMYKcmyk(23.1%, 0%, 57%, 5.1%)
CIE-LABlab(89.37, -38.77, 59.71)
CIE-LCHlch(89.37, 71.19, 123.00°)
OKLaboklab(89.5% -0.1092 0.1394)
OKLCHoklch(89.5% 0.177 128.1)
XYZxyz(54.5003, 74.9418, 24.6879)
Luminance0.7494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF268 #A068F2
analogous
#F2E568 #BAF268 #75F268
triadic
#BAF268 #68BAF2 #F268BA
tetradic
#BAF268 #68F2E5 #A068F2 #F26875
square
#BAF268 #68F2E5 #A068F2 #F26875
split-complementary
#BAF268 #6875F2 #E568F2
monochromatic
#82CE12 #A0ED30 #BAF268 #D4F7A0 #EDFCD9

Accessibility & contrast

On white

1.31
#BAF268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#BAF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF268
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF268#FFFFFF#000000##000000
##BAF2681.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE359
Deuteranopia (green-blind)
#F5DF71
Tritanopia (blue-blind)
#BFE8D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #baf268;
/* rgb */ color: rgb(186, 242, 104);
/* oklch */ color: oklch(89.5% 0.177 128.1);
Tailwind
colors: {
  custom: {
    50: '#d2f697',
    500: '#baf268',
    950: '#000000',
  },
}
SCSS
$custom: #baf268;
$custom-light: #d2f697;
$custom-dark: #000000;
JSON
{
  "hex": "#baf268",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 84.348,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89503,
    "c": 0.17707,
    "h": 128.1
  },
  "luminance": 0.74943
}

Semantic roles & 50–950 ramp

primary
#BAF268
secondary
#7134CA
accent
#05E15E
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF268

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

Preview Lab → · Contrast checker → · Palette generator →

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