#BAF56E#BAF56E

#BAF56E is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.2% C 0.176 H 129.1°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#BAF56E
RGBrgb(186, 245, 110)
HSLhsl(86, 87%, 70%)
HSVhsv(86, 55%, 96%)
CMYKcmyk(24.1%, 0%, 55.1%, 3.9%)
CIE-LABlab(90.26, -39.56, 58.10)
CIE-LCHlch(90.26, 70.29, 124.25°)
OKLaboklab(90.25% -0.1109 0.1365)
OKLCHoklch(90.25% 0.176 129.1)
XYZxyz(55.7162, 76.8685, 26.6505)
Luminance0.7687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF56E #A96EF5
analogous
#F5EC6E #BAF56E #77F56E
triadic
#BAF56E #6EBAF5 #F56EBA
tetradic
#BAF56E #6EF5EC #A96EF5 #F56E77
square
#BAF56E #6EF5EC #A96EF5 #F56E77
split-complementary
#BAF56E #6E77F5 #EC6EF5
monochromatic
#81DA0F #9FF135 #BAF56E #D5F9A7 #F0FDE1

Accessibility & contrast

On white

1.28
#BAF56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#BAF56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF56E
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF56E#FFFFFF#000000##000000
##BAF56E1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE660
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#BFEBD7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf56e;
/* rgb */ color: rgb(186, 245, 110);
/* oklch */ color: oklch(90.2% 0.176 129.1);
Tailwind
colors: {
  custom: {
    50: '#d2f89b',
    500: '#baf56e',
    950: '#000000',
  },
}
SCSS
$custom: #baf56e;
$custom-light: #d2f89b;
$custom-dark: #000000;
JSON
{
  "hex": "#baf56e",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 86.222,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90247,
    "c": 0.17589,
    "h": 129.1
  },
  "luminance": 0.7687
}

Semantic roles & 50–950 ramp

primary
#BAF56E
secondary
#7A38CF
accent
#02E465
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF56E

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

Preview Lab → · Contrast checker → · Palette generator →

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