#BAF176#BAF176

#BAF176 is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.4% C 0.163 H 129.2°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#BAF176
RGBrgb(186, 241, 118)
HSLhsl(87, 81%, 70%)
HSVhsv(87, 51%, 95%)
CMYKcmyk(22.8%, 0%, 51%, 5.5%)
CIE-LABlab(89.23, -36.99, 53.27)
CIE-LCHlch(89.23, 64.86, 124.78°)
OKLaboklab(89.44% -0.1032 0.1267)
OKLCHoklch(89.44% 0.163 129.2)
XYZxyz(54.9745, 74.6566, 28.6498)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF176 #AD76F1
analogous
#F1EA76 #BAF176 #7CF176
triadic
#BAF176 #76BAF1 #F176BA
tetradic
#BAF176 #76F1EA #AD76F1 #F1767C
square
#BAF176 #76F1EA #AD76F1 #F1767C
split-complementary
#BAF176 #767CF1 #EA76F1
monochromatic
#80D716 #9EEB3E #BAF176 #D6F7AE #F1FCE3

Accessibility & contrast

On white

1.32
#BAF176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.93
#BAF176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF176
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF176#FFFFFF#000000##000000
##BAF1761.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36B
Deuteranopia (green-blind)
#F3DF7E
Tritanopia (blue-blind)
#BEE8D5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #baf176;
/* rgb */ color: rgb(186, 241, 118);
/* oklch */ color: oklch(89.4% 0.163 129.2);
Tailwind
colors: {
  custom: {
    50: '#d1f6a0',
    500: '#baf176',
    950: '#000000',
  },
}
SCSS
$custom: #baf176;
$custom-light: #d1f6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf176",
  "rgb": {
    "r": 186,
    "g": 241,
    "b": 118
  },
  "hsl": {
    "h": 86.829,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89442,
    "c": 0.16337,
    "h": 129.2
  },
  "luminance": 0.74658
}

Semantic roles & 50–950 ramp

primary
#BAF176
secondary
#7E40CB
accent
#08DE67
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF176

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

Preview Lab → · Contrast checker → · Palette generator →

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