#BAF071#BAF071

#BAF071 is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.2% C 0.167 H 128.5°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#BAF071
RGBrgb(186, 240, 113)
HSLhsl(86, 81%, 69%)
HSVhsv(86, 53%, 94%)
CMYKcmyk(22.5%, 0%, 52.9%, 5.9%)
CIE-LABlab(88.90, -37.04, 55.17)
CIE-LCHlch(88.90, 66.45, 123.88°)
OKLaboklab(89.16% -0.1037 0.1304)
OKLCHoklch(89.16% 0.167 128.5)
XYZxyz(54.3901, 73.9505, 27.0279)
Luminance0.7395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF071 #A771F0
analogous
#F0E771 #BAF071 #7BF071
triadic
#BAF071 #71BAF0 #F071BA
tetradic
#BAF071 #71F0E7 #A771F0 #F0717B
square
#BAF071 #71F0E7 #A771F0 #F0717B
split-complementary
#BAF071 #717BF0 #E771F0
monochromatic
#81D116 #9FEA3A #BAF071 #D5F6A8 #F0FCE0

Accessibility & contrast

On white

1.33
#BAF071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#BAF071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF071
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF071#FFFFFF#000000##000000
##BAF0711.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE265
Deuteranopia (green-blind)
#F3DE79
Tritanopia (blue-blind)
#BFE7D4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf071;
/* rgb */ color: rgb(186, 240, 113);
/* oklch */ color: oklch(89.2% 0.167 128.5);
Tailwind
colors: {
  custom: {
    50: '#d1f59d',
    500: '#baf071',
    950: '#000000',
  },
}
SCSS
$custom: #baf071;
$custom-light: #d1f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf071",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 113
  },
  "hsl": {
    "h": 85.512,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89155,
    "c": 0.1666,
    "h": 128.5
  },
  "luminance": 0.73952
}

Semantic roles & 50–950 ramp

primary
#BAF071
secondary
#783CC9
accent
#08DD63
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF071

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

Preview Lab → · Contrast checker → · Palette generator →

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