#BAF479#BAF479

#BAF479 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.2% C 0.165 H 130.0°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#BAF479
RGBrgb(186, 244, 121)
HSLhsl(88, 85%, 72%)
HSVhsv(88, 50%, 96%)
CMYKcmyk(23.8%, 0%, 50.4%, 4.3%)
CIE-LABlab(90.10, -38.03, 52.93)
CIE-LCHlch(90.10, 65.18, 125.70°)
OKLaboklab(90.15% -0.1058 0.1262)
OKLCHoklch(90.15% 0.165 130)
XYZxyz(56.0510, 76.5197, 29.9021)
Luminance0.7652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF479 #B379F4
analogous
#F4F179 #BAF479 #7DF479
triadic
#BAF479 #79BAF4 #F479BA
tetradic
#BAF479 #79F4F1 #B379F4 #F4797D
square
#BAF479 #79F4F1 #B379F4 #F4797D
split-complementary
#BAF479 #797DF4 #F179F4
monochromatic
#7FE012 #9DEF40 #BAF479 #D7F9B2 #F0FDE3

Accessibility & contrast

On white

1.29
#BAF479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#BAF479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF479
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF479#FFFFFF#000000##000000
##BAF4791.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56E
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#BEEBD8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf479;
/* rgb */ color: rgb(186, 244, 121);
/* oklch */ color: oklch(90.2% 0.165 130.0);
Tailwind
colors: {
  custom: {
    50: '#d1f8a2',
    500: '#baf479',
    950: '#000000',
  },
}
SCSS
$custom: #baf479;
$custom-light: #d1f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf479",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 88.293,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90154,
    "c": 0.16466,
    "h": 130
  },
  "luminance": 0.76521
}

Semantic roles & 50–950 ramp

primary
#BAF479
secondary
#8542CF
accent
#04E16C
background
#FEFFFC
surface
#FBFFF6
border
#D4D7D0
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF479

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

Preview Lab → · Contrast checker → · Palette generator →

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