#BAF574#BAF574

#BAF574 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.3% C 0.171 H 129.6°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#BAF574
RGBrgb(186, 245, 116)
HSLhsl(87, 87%, 71%)
HSVhsv(87, 53%, 96%)
CMYKcmyk(24.1%, 0%, 52.7%, 3.9%)
CIE-LABlab(90.32, -38.99, 55.49)
CIE-LCHlch(90.32, 67.81, 125.10°)
OKLaboklab(90.32% -0.1088 0.1314)
OKLCHoklch(90.32% 0.171 129.6)
XYZxyz(56.0540, 77.0037, 28.4296)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF574 #AF74F5
analogous
#F5F074 #BAF574 #79F574
triadic
#BAF574 #74BAF5 #F574BA
tetradic
#BAF574 #74F5F0 #AF74F5 #F57479
square
#BAF574 #74F5F0 #AF74F5 #F57479
split-complementary
#BAF574 #7479F5 #F074F5
monochromatic
#80DF10 #9EF13B #BAF574 #D6F9AD #F1FDE2

Accessibility & contrast

On white

1.28
#BAF574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#BAF574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF574
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF574#FFFFFF#000000##000000
##BAF5741.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE668
Deuteranopia (green-blind)
#F7E27C
Tritanopia (blue-blind)
#BEECD8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf574;
/* rgb */ color: rgb(186, 245, 116);
/* oklch */ color: oklch(90.3% 0.171 129.6);
Tailwind
colors: {
  custom: {
    50: '#d1f89f',
    500: '#baf574',
    950: '#000000',
  },
}
SCSS
$custom: #baf574;
$custom-light: #d1f89f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf574",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 116
  },
  "hsl": {
    "h": 87.442,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90317,
    "c": 0.17059,
    "h": 129.6
  },
  "luminance": 0.77005
}

Semantic roles & 50–950 ramp

primary
#BAF574
secondary
#803ED0
accent
#02E369
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF574

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

Preview Lab → · Contrast checker → · Palette generator →

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