#BAF072#BAF072

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

Color values

HEX#BAF072
RGBrgb(186, 240, 114)
HSLhsl(86, 81%, 69%)
HSVhsv(86, 53%, 94%)
CMYKcmyk(22.5%, 0%, 52.5%, 5.9%)
CIE-LABlab(88.91, -36.94, 54.72)
CIE-LCHlch(88.91, 66.03, 124.02°)
OKLaboklab(89.17% -0.1033 0.1295)
OKLCHoklch(89.17% 0.166 128.6)
XYZxyz(54.4467, 73.9732, 27.3260)
Luminance0.7397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF072 #A872F0
analogous
#F0E772 #BAF072 #7BF072
triadic
#BAF072 #72BAF0 #F072BA
tetradic
#BAF072 #72F0E7 #A872F0 #F0727B
square
#BAF072 #72F0E7 #A872F0 #F0727B
split-complementary
#BAF072 #727BF0 #E772F0
monochromatic
#81D116 #9FEA3B #BAF072 #D5F6A9 #F0FCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAF072#FFFFFF#000000##000000
##BAF0721.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)
#FAE266
Deuteranopia (green-blind)
#F2DE7A
Tritanopia (blue-blind)
#BFE7D4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #baf072;
/* rgb */ color: rgb(186, 240, 114);
/* oklch */ color: oklch(89.2% 0.166 128.6);
Tailwind
colors: {
  custom: {
    50: '#d1f59e',
    500: '#baf072',
    950: '#000000',
  },
}
SCSS
$custom: #baf072;
$custom-light: #d1f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#baf072",
  "rgb": {
    "r": 186,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 85.714,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89167,
    "c": 0.1657,
    "h": 128.6
  },
  "luminance": 0.73974
}

Semantic roles & 50–950 ramp

primary
#BAF072
secondary
#793DC9
accent
#08DD64
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF072

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

Preview Lab → · Contrast checker → · Palette generator →

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