#BAF970#BAF970

#BAF970 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.2% C 0.179 H 129.9°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#BAF970
RGBrgb(186, 249, 112)
HSLhsl(88, 92%, 71%)
HSVhsv(88, 55%, 98%)
CMYKcmyk(25.3%, 0%, 55%, 2.4%)
CIE-LABlab(91.40, -41.15, 58.53)
CIE-LCHlch(91.40, 71.55, 125.11°)
OKLaboklab(91.17% -0.1151 0.1376)
OKLCHoklch(91.17% 0.179 129.9)
XYZxyz(57.0495, 79.3590, 27.6382)
Luminance0.7936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF970 #AF70F9
analogous
#F9F370 #BAF970 #75F970
triadic
#BAF970 #70BAF9 #F970BA
tetradic
#BAF970 #70F9F3 #AF70F9 #F97075
square
#BAF970 #70F9F3 #AF70F9 #F97075
split-complementary
#BAF970 #7075F9 #F370F9
monochromatic
#80E50A #9EF735 #BAF970 #D6FBAB #F1FEE2

Accessibility & contrast

On white

1.24
#BAF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#BAF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF970
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF970#FFFFFF#000000##000000
##BAF9701.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE962
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#BEEFDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #baf970;
/* rgb */ color: rgb(186, 249, 112);
/* oklch */ color: oklch(91.2% 0.179 129.9);
Tailwind
colors: {
  custom: {
    50: '#d2fb9d',
    500: '#baf970',
    950: '#000000',
  },
}
SCSS
$custom: #baf970;
$custom-light: #d2fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#baf970",
  "rgb": {
    "r": 186,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 87.591,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91172,
    "c": 0.17943,
    "h": 129.9
  },
  "luminance": 0.7936
}

Semantic roles & 50–950 ramp

primary
#BAF970
secondary
#8039D4
accent
#00E66A
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF970

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

Preview Lab → · Contrast checker → · Palette generator →

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