#BAF878#BAF878

#BAF878 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.0% C 0.171 H 130.5°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#BAF878
RGBrgb(186, 248, 120)
HSLhsl(89, 90%, 72%)
HSVhsv(89, 52%, 97%)
CMYKcmyk(25%, 0%, 51.6%, 2.7%)
CIE-LABlab(91.20, -39.92, 54.71)
CIE-LCHlch(91.20, 67.73, 126.12°)
OKLaboklab(91.04% -0.1111 0.13)
OKLCHoklch(91.04% 0.171 130.5)
XYZxyz(57.2066, 78.9286, 29.9864)
Luminance0.7893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF878 #B678F8
analogous
#F8F678 #BAF878 #7AF878
triadic
#BAF878 #78BAF8 #F878BA
tetradic
#BAF878 #78F8F6 #B678F8 #F8787A
square
#BAF878 #78F8F6 #B678F8 #F8787A
split-complementary
#BAF878 #787AF8 #F678F8
monochromatic
#7EE90C #9CF53E #BAF878 #D8FBB2 #F0FDE2

Accessibility & contrast

On white

1.25
#BAF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#BAF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF878
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF878#FFFFFF#000000##000000
##BAF8781.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#F9E480
Tritanopia (blue-blind)
#BDEFDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf878;
/* rgb */ color: rgb(186, 248, 120);
/* oklch */ color: oklch(91.0% 0.171 130.5);
Tailwind
colors: {
  custom: {
    50: '#d1fba2',
    500: '#baf878',
    950: '#000000',
  },
}
SCSS
$custom: #baf878;
$custom-light: #d1fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf878",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 89.063,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91042,
    "c": 0.17101,
    "h": 130.5
  },
  "luminance": 0.7893
}

Semantic roles & 50–950 ramp

primary
#BAF878
secondary
#8840D4
accent
#00E66F
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF878

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

Preview Lab → · Contrast checker → · Palette generator →

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