#BAF475#BAF475

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

Color values

HEX#BAF475
RGBrgb(186, 244, 117)
HSLhsl(87, 85%, 71%)
HSVhsv(87, 52%, 96%)
CMYKcmyk(23.8%, 0%, 52%, 4.3%)
CIE-LABlab(90.06, -38.44, 54.71)
CIE-LCHlch(90.06, 66.87, 125.09°)
OKLaboklab(90.1% -0.1073 0.1298)
OKLCHoklch(90.1% 0.168 129.6)
XYZxyz(55.8108, 76.4236, 28.6370)
Luminance0.7642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF475 #AF75F4
analogous
#F4EF75 #BAF475 #7AF475
triadic
#BAF475 #75BAF4 #F475BA
tetradic
#BAF475 #75F4EF #AF75F4 #F4757A
square
#BAF475 #75F4EF #AF75F4 #F4757A
split-complementary
#BAF475 #757AF4 #EF75F4
monochromatic
#80DD12 #9EEF3C #BAF475 #D6F9AE #F1FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF475#FFFFFF#000000##000000
##BAF4751.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)
#FEE569
Deuteranopia (green-blind)
#F6E17D
Tritanopia (blue-blind)
#BEEBD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf475;
/* rgb */ color: rgb(186, 244, 117);
/* oklch */ color: oklch(90.1% 0.168 129.6);
Tailwind
colors: {
  custom: {
    50: '#d1f8a0',
    500: '#baf475',
    950: '#000000',
  },
}
SCSS
$custom: #baf475;
$custom-light: #d1f8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf475",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 87.402,
    "s": 85.235,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90104,
    "c": 0.16834,
    "h": 129.6
  },
  "luminance": 0.76425
}

Semantic roles & 50–950 ramp

primary
#BAF475
secondary
#803FCE
accent
#04E269
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF475

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

Preview Lab → · Contrast checker → · Palette generator →

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