#BAF794#BAF794

#BAF794 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.2% C 0.142 H 134.3°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#BAF794
RGBrgb(186, 247, 148)
HSLhsl(97, 86%, 77%)
HSVhsv(97, 40%, 97%)
CMYKcmyk(24.7%, 0%, 40.1%, 3.1%)
CIE-LABlab(91.28, -36.24, 41.51)
CIE-LCHlch(91.28, 55.10, 131.12°)
OKLaboklab(91.22% -0.0993 0.1019)
OKLCHoklch(91.22% 0.142 134.3)
XYZxyz(58.8545, 79.0971, 40.1777)
Luminance0.7910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF794 #D194F7
analogous
#EBF794 #BAF794 #94F7A0
triadic
#BAF794 #94BAF7 #F794BA
tetradic
#BAF794 #94EBF7 #D194F7 #F7A094
square
#BAF794 #94EBF7 #D194F7 #F7A094
split-complementary
#BAF794 #A094F7 #F794EB
monochromatic
#71EE22 #95F35B #BAF794 #DFFBCD #EDFDE3

Accessibility & contrast

On white

1.25
#BAF794 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#BAF794 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF794
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF794#FFFFFF#000000##000000
##BAF7941.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98D
Deuteranopia (green-blind)
#F5E49A
Tritanopia (blue-blind)
#BAF0DF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf794;
/* rgb */ color: rgb(186, 247, 148);
/* oklch */ color: oklch(91.2% 0.142 134.3);
Tailwind
colors: {
  custom: {
    50: '#d0fab4',
    500: '#baf794',
    950: '#000000',
  },
}
SCSS
$custom: #baf794;
$custom-light: #d0fab4;
$custom-dark: #000000;
JSON
{
  "hex": "#baf794",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 148
  },
  "hsl": {
    "h": 96.97,
    "s": 86.087,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91219,
    "c": 0.14232,
    "h": 134.3
  },
  "luminance": 0.79099
}

Semantic roles & 50–950 ramp

primary
#BAF794
secondary
#A659D6
accent
#03E38D
background
#FEFFFD
surface
#FBFFF8
border
#D4D7D1
text
#141711
muted
#838581

Preview Lab

Preview with #BAF794

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

Preview Lab → · Contrast checker → · Palette generator →

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