#BAF470#BAF470

#BAF470 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.0% C 0.173 H 129.1°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#BAF470
RGBrgb(186, 244, 112)
HSLhsl(86, 86%, 70%)
HSVhsv(86, 54%, 96%)
CMYKcmyk(23.8%, 0%, 54.1%, 4.3%)
CIE-LABlab(90.00, -38.93, 56.91)
CIE-LCHlch(90.00, 68.95, 124.37°)
OKLaboklab(90.04% -0.109 0.1341)
OKLCHoklch(90.04% 0.173 129.1)
XYZxyz(55.5246, 76.3092, 27.1299)
Luminance0.7631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF470 #AA70F4
analogous
#F4EC70 #BAF470 #78F470
triadic
#BAF470 #70BAF4 #F470BA
tetradic
#BAF470 #70F4EC #AA70F4 #F47078
square
#BAF470 #70F4EC #AA70F4 #F47078
split-complementary
#BAF470 #7078F4 #EC70F4
monochromatic
#81D911 #9FF037 #BAF470 #D5F8A9 #F1FDE2

Accessibility & contrast

On white

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

On black

16.26
#BAF470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF470
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF470#FFFFFF#000000##000000
##BAF4701.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE563
Deuteranopia (green-blind)
#F6E179
Tritanopia (blue-blind)
#BFEBD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf470;
/* rgb */ color: rgb(186, 244, 112);
/* oklch */ color: oklch(90.0% 0.173 129.1);
Tailwind
colors: {
  custom: {
    50: '#d1f89c',
    500: '#baf470',
    950: '#000000',
  },
}
SCSS
$custom: #baf470;
$custom-light: #d1f89c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf470",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 86.364,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90044,
    "c": 0.17282,
    "h": 129.1
  },
  "luminance": 0.7631
}

Semantic roles & 50–950 ramp

primary
#BAF470
secondary
#7B3ACE
accent
#03E265
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF470

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

Preview Lab → · Contrast checker → · Palette generator →

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