#BAF166#BAF166

#BAF166 is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.3% C 0.177 H 127.7°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#BAF166
RGBrgb(186, 241, 102)
HSLhsl(84, 83%, 67%)
HSVhsv(84, 58%, 95%)
CMYKcmyk(22.8%, 0%, 57.7%, 5.5%)
CIE-LABlab(89.07, -38.50, 60.24)
CIE-LCHlch(89.07, 71.49, 122.58°)
OKLaboklab(89.26% -0.1086 0.1403)
OKLCHoklch(89.26% 0.177 127.7)
XYZxyz(54.1031, 74.3080, 24.0603)
Luminance0.7431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF166 #9D66F1
analogous
#F1E366 #BAF166 #75F166
triadic
#BAF166 #66BAF1 #F166BA
tetradic
#BAF166 #66F1E3 #9D66F1 #F16675
square
#BAF166 #66F1E3 #9D66F1 #F16675
split-complementary
#BAF166 #6675F1 #E366F1
monochromatic
#81CA12 #A1EC2E #BAF166 #D3F69E #EDFBD6

Accessibility & contrast

On white

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

On black

15.86
#BAF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF166
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF166#FFFFFF#000000##000000
##BAF1661.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE257
Deuteranopia (green-blind)
#F4DF70
Tritanopia (blue-blind)
#C0E7D3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf166;
/* rgb */ color: rgb(186, 241, 102);
/* oklch */ color: oklch(89.3% 0.177 127.7);
Tailwind
colors: {
  custom: {
    50: '#d2f696',
    500: '#baf166',
    950: '#000000',
  },
}
SCSS
$custom: #baf166;
$custom-light: #d2f696;
$custom-dark: #000000;
JSON
{
  "hex": "#baf166",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 83.741,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89256,
    "c": 0.17746,
    "h": 127.7
  },
  "luminance": 0.74309
}

Semantic roles & 50–950 ramp

primary
#BAF166
secondary
#6E34C7
accent
#06E05C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF166

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

Preview Lab → · Contrast checker → · Palette generator →

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