#BAF774#BAF774

#BAF774 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 90.8% C 0.173 H 130.0°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#BAF774
RGBrgb(186, 247, 116)
HSLhsl(88, 89%, 71%)
HSVhsv(88, 53%, 97%)
CMYKcmyk(24.7%, 0%, 53%, 3.1%)
CIE-LABlab(90.88, -39.88, 56.14)
CIE-LCHlch(90.88, 68.86, 125.39°)
OKLaboklab(90.77% -0.1113 0.1328)
OKLCHoklch(90.77% 0.173 130)
XYZxyz(56.6623, 78.2203, 28.6323)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF774 #B174F7
analogous
#F7F374 #BAF774 #78F774
triadic
#BAF774 #74BAF7 #F774BA
tetradic
#BAF774 #74F7F3 #B174F7 #F77478
square
#BAF774 #74F7F3 #B174F7 #F77478
split-complementary
#BAF774 #7478F7 #F374F7
monochromatic
#80E40D #9DF43A #BAF774 #D7FAAE #F1FDE2

Accessibility & contrast

On white

1.26
#BAF774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#BAF774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF774
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF774#FFFFFF#000000##000000
##BAF7741.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#F8E37D
Tritanopia (blue-blind)
#BEEEDA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #baf774;
/* rgb */ color: rgb(186, 247, 116);
/* oklch */ color: oklch(90.8% 0.173 130.0);
Tailwind
colors: {
  custom: {
    50: '#d1fa9f',
    500: '#baf774',
    950: '#000000',
  },
}
SCSS
$custom: #baf774;
$custom-light: #d1fa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf774",
  "rgb": {
    "r": 186,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 87.939,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90768,
    "c": 0.17327,
    "h": 130
  },
  "luminance": 0.78222
}

Semantic roles & 50–950 ramp

primary
#BAF774
secondary
#823DD2
accent
#00E66B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF774

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

Preview Lab → · Contrast checker → · Palette generator →

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