#BAF682#BAF682

#BAF682 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.7% C 0.159 H 131.4°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#BAF682
RGBrgb(186, 246, 130)
HSLhsl(91, 87%, 74%)
HSVhsv(91, 47%, 96%)
CMYKcmyk(24.4%, 0%, 47.2%, 3.5%)
CIE-LABlab(90.76, -37.96, 49.53)
CIE-LCHlch(90.76, 62.40, 127.47°)
OKLaboklab(90.72% -0.105 0.1192)
OKLCHoklch(90.72% 0.159 131.4)
XYZxyz(57.2339, 77.9610, 33.1473)
Luminance0.7796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF682 #BE82F6
analogous
#F4F682 #BAF682 #82F684
triadic
#BAF682 #82BAF6 #F682BA
tetradic
#BAF682 #82F4F6 #BE82F6 #F68482
square
#BAF682 #82F4F6 #BE82F6 #F68482
split-complementary
#BAF682 #8482F6 #F682F4
monochromatic
#7BED11 #9AF249 #BAF682 #DAFABB #EFFDE2

Accessibility & contrast

On white

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

On black

16.59
#BAF682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF682
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF682#FFFFFF#000000##000000
##BAF6821.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE778
Deuteranopia (green-blind)
#F6E389
Tritanopia (blue-blind)
#BCEEDB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #baf682;
/* rgb */ color: rgb(186, 246, 130);
/* oklch */ color: oklch(90.7% 0.159 131.4);
Tailwind
colors: {
  custom: {
    50: '#d1f9a8',
    500: '#baf682',
    950: '#000000',
  },
}
SCSS
$custom: #baf682;
$custom-light: #d1f9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#baf682",
  "rgb": {
    "r": 186,
    "g": 246,
    "b": 130
  },
  "hsl": {
    "h": 91.034,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90724,
    "c": 0.15888,
    "h": 131.4
  },
  "luminance": 0.77962
}

Semantic roles & 50–950 ramp

primary
#BAF682
secondary
#904AD3
accent
#02E377
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF682

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

Preview Lab → · Contrast checker → · Palette generator →

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