#BAF679#BAF679

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

Color values

HEX#BAF679
RGBrgb(186, 246, 121)
HSLhsl(89, 87%, 72%)
HSVhsv(89, 51%, 96%)
CMYKcmyk(24.4%, 0%, 50.8%, 3.5%)
CIE-LABlab(90.66, -38.93, 53.60)
CIE-LCHlch(90.66, 66.24, 125.99°)
OKLaboklab(90.6% -0.1083 0.1276)
OKLCHoklch(90.6% 0.167 130.3)
XYZxyz(56.6560, 77.7298, 30.1038)
Luminance0.7773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF679 #B579F6
analogous
#F6F479 #BAF679 #7CF679
triadic
#BAF679 #79BAF6 #F679BA
tetradic
#BAF679 #79F6F4 #B579F6 #F6797C
square
#BAF679 #79F6F4 #B579F6 #F6797C
split-complementary
#BAF679 #797CF6 #F479F6
monochromatic
#7FE50F #9CF240 #BAF679 #D8FAB2 #F0FDE2

Accessibility & contrast

On white

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

On black

16.55
#BAF679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF679
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF679#FFFFFF#000000##000000
##BAF6791.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76E
Deuteranopia (green-blind)
#F7E381
Tritanopia (blue-blind)
#BDEDDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf679;
/* rgb */ color: rgb(186, 246, 121);
/* oklch */ color: oklch(90.6% 0.167 130.3);
Tailwind
colors: {
  custom: {
    50: '#d1f9a2',
    500: '#baf679',
    950: '#000000',
  },
}
SCSS
$custom: #baf679;
$custom-light: #d1f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf679",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 121
  },
  "hsl": {
    "h": 88.8,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90604,
    "c": 0.16738,
    "h": 130.3
  },
  "luminance": 0.77731
}

Semantic roles & 50–950 ramp

primary
#BAF679
secondary
#8742D1
accent
#02E46E
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF679

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

Preview Lab → · Contrast checker → · Palette generator →

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