#BAF070#BAF070

#BAF070 is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.1% C 0.168 H 128.4°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#BAF070
RGBrgb(186, 240, 112)
HSLhsl(85, 81%, 69%)
HSVhsv(85, 53%, 94%)
CMYKcmyk(22.5%, 0%, 53.3%, 5.9%)
CIE-LABlab(88.89, -37.14, 55.61)
CIE-LCHlch(88.89, 66.87, 123.74°)
OKLaboklab(89.14% -0.104 0.1313)
OKLCHoklch(89.14% 0.168 128.4)
XYZxyz(54.3341, 73.9281, 26.7331)
Luminance0.7393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF070 #A670F0
analogous
#F0E670 #BAF070 #7AF070
triadic
#BAF070 #70BAF0 #F070BA
tetradic
#BAF070 #70F0E6 #A670F0 #F0707A
square
#BAF070 #70F0E6 #A670F0 #F0707A
split-complementary
#BAF070 #707AF0 #E670F0
monochromatic
#81D016 #9FEA39 #BAF070 #D5F6A7 #EFFCDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF070#FFFFFF#000000##000000
##BAF0701.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)
#FAE264
Deuteranopia (green-blind)
#F3DE78
Tritanopia (blue-blind)
#BFE7D3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf070;
/* rgb */ color: rgb(186, 240, 112);
/* oklch */ color: oklch(89.1% 0.168 128.4);
Tailwind
colors: {
  custom: {
    50: '#d1f59c',
    500: '#baf070',
    950: '#000000',
  },
}
SCSS
$custom: #baf070;
$custom-light: #d1f59c;
$custom-dark: #000000;
JSON
{
  "hex": "#baf070",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 85.313,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89143,
    "c": 0.1675,
    "h": 128.4
  },
  "luminance": 0.73929
}

Semantic roles & 50–950 ramp

primary
#BAF070
secondary
#773BC9
accent
#08DD62
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF070

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

Preview Lab → · Contrast checker → · Palette generator →

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