#BAFA74#BAFA74

#BAFA74 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.4% C 0.177 H 130.4°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#BAFA74
RGBrgb(186, 250, 116)
HSLhsl(89, 93%, 72%)
HSVhsv(89, 54%, 98%)
CMYKcmyk(25.6%, 0%, 53.6%, 2%)
CIE-LABlab(91.72, -41.20, 57.13)
CIE-LCHlch(91.72, 70.44, 125.80°)
OKLaboklab(91.44% -0.115 0.1349)
OKLCHoklch(91.44% 0.177 130.4)
XYZxyz(57.5871, 80.0698, 28.9406)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAFA74 #B474FA
analogous
#FAF774 #BAFA74 #77FA74
triadic
#BAFA74 #74BAFA #FA74BA
tetradic
#BAFA74 #74FAF7 #B474FA #FA7477
square
#BAFA74 #74FAF7 #B474FA #FA7477
split-complementary
#BAFA74 #7477FA #F774FA
monochromatic
#7FEB08 #9DF839 #BAFA74 #D7FCAF #F0FEE1

Accessibility & contrast

On white

1.23
#BAFA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#BAFA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAFA74
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAFA74#FFFFFF#000000##000000
##BAFA741.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#FBE67D
Tritanopia (blue-blind)
#BEF1DC
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #bafa74;
/* rgb */ color: rgb(186, 250, 116);
/* oklch */ color: oklch(91.4% 0.177 130.4);
Tailwind
colors: {
  custom: {
    50: '#d2fc9f',
    500: '#bafa74',
    950: '#000000',
  },
}
SCSS
$custom: #bafa74;
$custom-light: #d2fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#bafa74",
  "rgb": {
    "r": 186,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 88.657,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.91444,
    "c": 0.17727,
    "h": 130.4
  },
  "luminance": 0.80071
}

Semantic roles & 50–950 ramp

primary
#BAFA74
secondary
#863CD6
accent
#00E66E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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