#BAF266#BAF266

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

Color values

HEX#BAF266
RGBrgb(186, 242, 102)
HSLhsl(84, 84%, 67%)
HSVhsv(84, 58%, 95%)
CMYKcmyk(23.1%, 0%, 57.9%, 5.1%)
CIE-LABlab(89.35, -38.95, 60.55)
CIE-LCHlch(89.35, 72.00, 122.75°)
OKLaboklab(89.48% -0.1098 0.141)
OKLCHoklch(89.48% 0.179 127.9)
XYZxyz(54.3999, 74.9017, 24.1592)
Luminance0.7490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF266 #9E66F2
analogous
#F2E466 #BAF266 #74F266
triadic
#BAF266 #66BAF2 #F266BA
tetradic
#BAF266 #66F2E4 #9E66F2 #F26674
square
#BAF266 #66F2E4 #9E66F2 #F26674
split-complementary
#BAF266 #6674F2 #E466F2
monochromatic
#81CC11 #A1ED2E #BAF266 #D3F79E #EDFCD7

Accessibility & contrast

On white

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

On black

15.98
#BAF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF266
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF266#FFFFFF#000000##000000
##BAF2661.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE357
Deuteranopia (green-blind)
#F5DF70
Tritanopia (blue-blind)
#C0E8D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf266;
/* rgb */ color: rgb(186, 242, 102);
/* oklch */ color: oklch(89.5% 0.179 127.9);
Tailwind
colors: {
  custom: {
    50: '#d2f696',
    500: '#baf266',
    950: '#000000',
  },
}
SCSS
$custom: #baf266;
$custom-light: #d2f696;
$custom-dark: #000000;
JSON
{
  "hex": "#baf266",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 84,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89482,
    "c": 0.17874,
    "h": 127.9
  },
  "luminance": 0.74903
}

Semantic roles & 50–950 ramp

primary
#BAF266
secondary
#6F34C9
accent
#05E15D
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF266

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

Preview Lab → · Contrast checker → · Palette generator →

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