#BAF477#BAF477

#BAF477 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.1% C 0.167 H 129.8°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#BAF477
RGBrgb(186, 244, 119)
HSLhsl(88, 85%, 71%)
HSVhsv(88, 51%, 96%)
CMYKcmyk(23.8%, 0%, 51.2%, 4.3%)
CIE-LABlab(90.08, -38.24, 53.83)
CIE-LCHlch(90.08, 66.03, 125.39°)
OKLaboklab(90.13% -0.1065 0.128)
OKLCHoklch(90.13% 0.167 129.8)
XYZxyz(55.9296, 76.4712, 29.2629)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF477 #B177F4
analogous
#F4EF77 #BAF477 #7BF477
triadic
#BAF477 #77BAF4 #F477BA
tetradic
#BAF477 #77F4EF #B177F4 #F4777B
square
#BAF477 #77F4EF #B177F4 #F4777B
split-complementary
#BAF477 #777BF4 #EF77F4
monochromatic
#80DF12 #9DEF3E #BAF477 #D7F9B0 #F1FDE3

Accessibility & contrast

On white

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

On black

16.29
#BAF477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF477
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF477#FFFFFF#000000##000000
##BAF4771.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf477;
/* rgb */ color: rgb(186, 244, 119);
/* oklch */ color: oklch(90.1% 0.167 129.8);
Tailwind
colors: {
  custom: {
    50: '#d1f8a1',
    500: '#baf477',
    950: '#000000',
  },
}
SCSS
$custom: #baf477;
$custom-light: #d1f8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#baf477",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 87.84,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90129,
    "c": 0.16651,
    "h": 129.8
  },
  "luminance": 0.76472
}

Semantic roles & 50–950 ramp

primary
#BAF477
secondary
#8241CF
accent
#04E26B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF477

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

Preview Lab → · Contrast checker → · Palette generator →

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