#BAF84F#BAF84F

#BAF84F is a very light, highly saturated yellow-green. Relative luminance 0.781; OKLCH L 90.6% C 0.203 H 127.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#BAF84F
RGBrgb(186, 248, 79)
HSLhsl(82, 92%, 64%)
HSVhsv(82, 68%, 97%)
CMYKcmyk(25%, 0%, 68.1%, 2.7%)
CIE-LABlab(90.84, -43.30, 71.35)
CIE-LCHlch(90.84, 83.46, 121.25°)
OKLaboklab(90.64% -0.1237 0.161)
OKLCHoklch(90.64% 0.203 127.5)
XYZxyz(55.2284, 78.1373, 19.5679)
Luminance0.7814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF84F #8D4FF8
analogous
#F8E24F #BAF84F #66F84F
triadic
#BAF84F #4FBAF8 #F84FBA
tetradic
#BAF84F #4FF8E2 #8D4FF8 #F84F66
square
#BAF84F #4FF8E2 #8D4FF8 #F84F66
split-complementary
#BAF84F #4F66F8 #E24FF8
monochromatic
#7FC508 #A3F614 #BAF84F #D1FA8A #E8FDC5

Accessibility & contrast

On white

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

On black

16.63
#BAF84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF84F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF84F#FFFFFF#000000##000000
##BAF84F1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE735
Deuteranopia (green-blind)
#FCE45D
Tritanopia (blue-blind)
#C1EDD6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf84f;
/* rgb */ color: rgb(186, 248, 79);
/* oklch */ color: oklch(90.6% 0.203 127.5);
Tailwind
colors: {
  custom: {
    50: '#d3fb89',
    500: '#baf84f',
    950: '#000000',
  },
}
SCSS
$custom: #baf84f;
$custom-light: #d3fb89;
$custom-dark: #000000;
JSON
{
  "hex": "#baf84f",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 79
  },
  "hsl": {
    "h": 82.012,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90635,
    "c": 0.20309,
    "h": 127.5
  },
  "luminance": 0.78138
}

Semantic roles & 50–950 ramp

primary
#BAF84F
secondary
#612AC2
accent
#00E654
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #BAF84F

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

Preview Lab → · Contrast checker → · Palette generator →

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