#BAF76F#BAF76F

#BAF76F is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.7% C 0.178 H 129.5°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#BAF76F
RGBrgb(186, 247, 111)
HSLhsl(87, 89%, 70%)
HSVhsv(87, 55%, 97%)
CMYKcmyk(24.7%, 0%, 55.1%, 3.1%)
CIE-LABlab(90.83, -40.36, 58.32)
CIE-LCHlch(90.83, 70.92, 124.68°)
OKLaboklab(90.71% -0.113 0.1371)
OKLCHoklch(90.71% 0.178 129.5)
XYZxyz(56.3793, 78.1071, 27.1416)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF76F #AC6FF7
analogous
#F7F06F #BAF76F #76F76F
triadic
#BAF76F #6FBAF7 #F76FBA
tetradic
#BAF76F #6FF7F0 #AC6FF7 #F76F76
square
#BAF76F #6FF7F0 #AC6FF7 #F76F76
split-complementary
#BAF76F #6F76F7 #F06FF7
monochromatic
#81DF0C #9EF435 #BAF76F #D6FAA9 #F1FDE2

Accessibility & contrast

On white

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

On black

16.62
#BAF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF76F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF76F#FFFFFF#000000##000000
##BAF76F1.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE861
Deuteranopia (green-blind)
#F9E378
Tritanopia (blue-blind)
#BEEDD9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf76f;
/* rgb */ color: rgb(186, 247, 111);
/* oklch */ color: oklch(90.7% 0.178 129.5);
Tailwind
colors: {
  custom: {
    50: '#d2fa9c',
    500: '#baf76f',
    950: '#000000',
  },
}
SCSS
$custom: #baf76f;
$custom-light: #d2fa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf76f",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 86.912,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90709,
    "c": 0.17766,
    "h": 129.5
  },
  "luminance": 0.78108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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