#BAF246#BAF246

#BAF246 is a very light, highly saturated yellow-green. Relative luminance 0.744; OKLCH L 89.2% C 0.201 H 126.1°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#BAF246
RGBrgb(186, 242, 70)
HSLhsl(80, 87%, 61%)
HSVhsv(80, 71%, 95%)
CMYKcmyk(23.1%, 0%, 71.1%, 5.1%)
CIE-LABlab(89.10, -41.21, 72.78)
CIE-LCHlch(89.10, 83.64, 119.52°)
OKLaboklab(89.21% -0.1187 0.1628)
OKLCHoklch(89.21% 0.201 126.1)
XYZxyz(53.1076, 74.3847, 17.3529)
Luminance0.7439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF246 #7E46F2
analogous
#F2D446 #BAF246 #64F246
triadic
#BAF246 #46BAF2 #F246BA
tetradic
#BAF246 #46F2D4 #7E46F2 #F24664
square
#BAF246 #46F2D4 #7E46F2 #F24664
split-complementary
#BAF246 #4664F2 #D446F2
monochromatic
#7CB10C #A3EA10 #BAF246 #CFF67F #E5FAB8

Accessibility & contrast

On white

1.32
#BAF246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#BAF246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF246
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF246#FFFFFF#000000##000000
##BAF2461.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE226
Deuteranopia (green-blind)
#F7DF55
Tritanopia (blue-blind)
#C2E7D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf246;
/* rgb */ color: rgb(186, 242, 70);
/* oklch */ color: oklch(89.2% 0.201 126.1);
Tailwind
colors: {
  custom: {
    50: '#d3f684',
    500: '#baf246',
    950: '#000000',
  },
}
SCSS
$custom: #baf246;
$custom-light: #d3f684;
$custom-dark: #000000;
JSON
{
  "hex": "#baf246",
  "rgb": {
    "r": 186,
    "g": 242,
    "b": 70
  },
  "hsl": {
    "h": 79.535,
    "s": 86.869,
    "l": 61.176
  },
  "oklch": {
    "l": 0.89207,
    "c": 0.20148,
    "h": 126.1
  },
  "luminance": 0.74386
}

Semantic roles & 50–950 ramp

primary
#BAF246
secondary
#572BB1
accent
#02E34B
background
#FEFFFC
surface
#FBFEF3
border
#D4D6CD
text
#15170C
muted
#84857F

Preview Lab

Preview with #BAF246

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

Preview Lab → · Contrast checker → · Palette generator →

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