#BAF684#BAF684

#BAF684 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.8% C 0.157 H 131.6°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#BAF684
RGBrgb(186, 246, 132)
HSLhsl(92, 86%, 74%)
HSVhsv(92, 46%, 96%)
CMYKcmyk(24.4%, 0%, 46.3%, 3.5%)
CIE-LABlab(90.79, -37.73, 48.61)
CIE-LCHlch(90.79, 61.54, 127.82°)
OKLaboklab(90.75% -0.1043 0.1173)
OKLCHoklch(90.75% 0.157 131.6)
XYZxyz(57.3694, 78.0152, 33.8612)
Luminance0.7802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF684 #C084F6
analogous
#F3F684 #BAF684 #84F687
triadic
#BAF684 #84BAF6 #F684BA
tetradic
#BAF684 #84F3F6 #C084F6 #F68784
square
#BAF684 #84F3F6 #C084F6 #F68784
split-complementary
#BAF684 #8784F6 #F684F3
monochromatic
#7AEE12 #9AF24B #BAF684 #DAFABD #EFFDE2

Accessibility & contrast

On white

1.26
#BAF684 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#BAF684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF684
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF684#FFFFFF#000000##000000
##BAF6841.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87B
Deuteranopia (green-blind)
#F6E38B
Tritanopia (blue-blind)
#BCEEDB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf684;
/* rgb */ color: rgb(186, 246, 132);
/* oklch */ color: oklch(90.8% 0.157 131.6);
Tailwind
colors: {
  custom: {
    50: '#d1f9aa',
    500: '#baf684',
    950: '#000000',
  },
}
SCSS
$custom: #baf684;
$custom-light: #d1f9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#baf684",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 132
  },
  "hsl": {
    "h": 91.579,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90752,
    "c": 0.15694,
    "h": 131.6
  },
  "luminance": 0.78017
}

Semantic roles & 50–950 ramp

primary
#BAF684
secondary
#934BD3
accent
#03E379
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF684

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

Preview Lab → · Contrast checker → · Palette generator →

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