#BAF474#BAF474

#BAF474 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.1% C 0.169 H 129.5°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#BAF474
RGBrgb(186, 244, 116)
HSLhsl(87, 85%, 71%)
HSVhsv(87, 52%, 96%)
CMYKcmyk(23.8%, 0%, 52.5%, 4.3%)
CIE-LABlab(90.04, -38.54, 55.16)
CIE-LCHlch(90.04, 67.29, 124.94°)
OKLaboklab(90.09% -0.1076 0.1306)
OKLCHoklch(90.09% 0.169 129.5)
XYZxyz(55.7523, 76.4002, 28.3290)
Luminance0.7640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF474 #AE74F4
analogous
#F4EE74 #BAF474 #7AF474
triadic
#BAF474 #74BAF4 #F474BA
tetradic
#BAF474 #74F4EE #AE74F4 #F4747A
square
#BAF474 #74F4EE #AE74F4 #F4747A
split-complementary
#BAF474 #747AF4 #EE74F4
monochromatic
#80DC11 #9EF03B #BAF474 #D6F8AD #F1FDE3

Accessibility & contrast

On white

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

On black

16.28
#BAF474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF474
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF474#FFFFFF#000000##000000
##BAF4741.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE568
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#BEEBD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf474;
/* rgb */ color: rgb(186, 244, 116);
/* oklch */ color: oklch(90.1% 0.169 129.5);
Tailwind
colors: {
  custom: {
    50: '#d1f89f',
    500: '#baf474',
    950: '#000000',
  },
}
SCSS
$custom: #baf474;
$custom-light: #d1f89f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf474",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 87.188,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90092,
    "c": 0.16925,
    "h": 129.5
  },
  "luminance": 0.76401
}

Semantic roles & 50–950 ramp

primary
#BAF474
secondary
#7F3ECE
accent
#04E268
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF474

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

Preview Lab → · Contrast checker → · Palette generator →

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