#BAF666#BAF666

#BAF666 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.4% C 0.184 H 128.6°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#BAF666
RGBrgb(186, 246, 102)
HSLhsl(85, 89%, 68%)
HSVhsv(85, 59%, 96%)
CMYKcmyk(24.4%, 0%, 58.5%, 3.5%)
CIE-LABlab(90.46, -40.72, 61.81)
CIE-LCHlch(90.46, 74.02, 123.38°)
OKLaboklab(90.39% -0.1147 0.1437)
OKLCHoklch(90.39% 0.184 128.6)
XYZxyz(55.6035, 77.3088, 24.5604)
Luminance0.7731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF666 #A266F6
analogous
#F6EA66 #BAF666 #72F666
triadic
#BAF666 #66BAF6 #F666BA
tetradic
#BAF666 #66F6EA #A266F6 #F66672
square
#BAF666 #66F6EA #A266F6 #F66672
split-complementary
#BAF666 #6672F6 #EA66F6
monochromatic
#82D50D #A0F32C #BAF666 #D4F9A0 #EEFDDA

Accessibility & contrast

On white

1.28
#BAF666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#BAF666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF666
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF666#FFFFFF#000000##000000
##BAF6661.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE656
Deuteranopia (green-blind)
#F9E270
Tritanopia (blue-blind)
#BFECD7
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf666;
/* rgb */ color: rgb(186, 246, 102);
/* oklch */ color: oklch(90.4% 0.184 128.6);
Tailwind
colors: {
  custom: {
    50: '#d2f996',
    500: '#baf666',
    950: '#000000',
  },
}
SCSS
$custom: #baf666;
$custom-light: #d2f996;
$custom-dark: #000000;
JSON
{
  "hex": "#baf666",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 85,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90386,
    "c": 0.18389,
    "h": 128.6
  },
  "luminance": 0.7731
}

Semantic roles & 50–950 ramp

primary
#BAF666
secondary
#7331CF
accent
#00E660
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF666

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

Preview Lab → · Contrast checker → · Palette generator →

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