#BAF678#BAF678

#BAF678 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.6% C 0.168 H 130.2°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#BAF678
RGBrgb(186, 246, 120)
HSLhsl(89, 88%, 72%)
HSVhsv(89, 51%, 96%)
CMYKcmyk(24.4%, 0%, 51.2%, 3.5%)
CIE-LABlab(90.65, -39.03, 54.04)
CIE-LCHlch(90.65, 66.67, 125.84°)
OKLaboklab(90.59% -0.1087 0.1285)
OKLCHoklch(90.59% 0.168 130.2)
XYZxyz(56.5950, 77.7054, 29.7825)
Luminance0.7771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF678 #B478F6
analogous
#F6F378 #BAF678 #7BF678
triadic
#BAF678 #78BAF6 #F678BA
tetradic
#BAF678 #78F6F3 #B478F6 #F6787B
square
#BAF678 #78F6F3 #B478F6 #F6787B
split-complementary
#BAF678 #787BF6 #F378F6
monochromatic
#7FE40F #9DF23F #BAF678 #D7FAB1 #F0FDE2

Accessibility & contrast

On white

1.27
#BAF678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#BAF678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF678
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF678#FFFFFF#000000##000000
##BAF6781.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76C
Deuteranopia (green-blind)
#F7E380
Tritanopia (blue-blind)
#BEEDD9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf678;
/* rgb */ color: rgb(186, 246, 120);
/* oklch */ color: oklch(90.6% 0.168 130.2);
Tailwind
colors: {
  custom: {
    50: '#d1f9a2',
    500: '#baf678',
    950: '#000000',
  },
}
SCSS
$custom: #baf678;
$custom-light: #d1f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf678",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 88.571,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90592,
    "c": 0.1683,
    "h": 130.2
  },
  "luminance": 0.77707
}

Semantic roles & 50–950 ramp

primary
#BAF678
secondary
#8641D1
accent
#01E46D
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF678

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

Preview Lab → · Contrast checker → · Palette generator →

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