#BAFA6C#BAFA6C

#BAFA6C is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.4% C 0.184 H 129.7°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#BAFA6C
RGBrgb(186, 250, 108)
HSLhsl(87, 93%, 70%)
HSVhsv(87, 57%, 98%)
CMYKcmyk(25.6%, 0%, 56.8%, 2%)
CIE-LABlab(91.64, -41.95, 60.56)
CIE-LCHlch(91.64, 73.67, 124.71°)
OKLaboklab(91.35% -0.1177 0.1416)
OKLCHoklch(91.35% 0.184 129.7)
XYZxyz(57.1416, 79.8917, 26.5945)
Luminance0.7989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA6C #AC6CFA
analogous
#FAF36C #BAFA6C #73FA6C
triadic
#BAFA6C #6CBAFA #FA6CBA
tetradic
#BAFA6C #6CFAF3 #AC6CFA #FA6C73
square
#BAFA6C #6CFAF3 #AC6CFA #FA6C73
split-complementary
#BAFA6C #6C73FA #F36CFA
monochromatic
#81E408 #9EF831 #BAFA6C #D6FCA7 #F1FEE1

Accessibility & contrast

On white

1.24
#BAFA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#BAFA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA6C
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA6C#FFFFFF#000000##000000
##BAFA6C1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5D
Deuteranopia (green-blind)
#FBE676
Tritanopia (blue-blind)
#BEF0DB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa6c;
/* rgb */ color: rgb(186, 250, 108);
/* oklch */ color: oklch(91.4% 0.184 129.7);
Tailwind
colors: {
  custom: {
    50: '#d2fc9a',
    500: '#bafa6c',
    950: '#000000',
  },
}
SCSS
$custom: #bafa6c;
$custom-light: #d2fc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa6c",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 87.042,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.91354,
    "c": 0.18413,
    "h": 129.7
  },
  "luminance": 0.79893
}

Semantic roles & 50–950 ramp

primary
#BAFA6C
secondary
#7D35D5
accent
#00E667
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAFA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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