#BAF875#BAF875

#BAF875 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.0% C 0.174 H 130.2°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#BAF875
RGBrgb(186, 248, 117)
HSLhsl(88, 90%, 72%)
HSVhsv(88, 53%, 97%)
CMYKcmyk(25%, 0%, 52.8%, 2.7%)
CIE-LABlab(91.17, -40.22, 56.03)
CIE-LCHlch(91.17, 68.98, 125.67°)
OKLaboklab(91.01% -0.1122 0.1326)
OKLCHoklch(91.01% 0.174 130.2)
XYZxyz(57.0274, 78.8569, 29.0425)
Luminance0.7886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF875 #B375F8
analogous
#F8F575 #BAF875 #79F875
triadic
#BAF875 #75BAF8 #F875BA
tetradic
#BAF875 #75F8F5 #B375F8 #F87579
square
#BAF875 #75F8F5 #B375F8 #F87579
split-complementary
#BAF875 #7579F8 #F575F8
monochromatic
#7FE70C #9DF53B #BAF875 #D7FBAF #F0FEE2

Accessibility & contrast

On white

1.25
#BAF875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#BAF875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF875
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF875#FFFFFF#000000##000000
##BAF8751.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baf875;
/* rgb */ color: rgb(186, 248, 117);
/* oklch */ color: oklch(91.0% 0.174 130.2);
Tailwind
colors: {
  custom: {
    50: '#d1fba0',
    500: '#baf875',
    950: '#000000',
  },
}
SCSS
$custom: #baf875;
$custom-light: #d1fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#baf875",
  "rgb": {
    "r": 186,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 88.397,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91005,
    "c": 0.17372,
    "h": 130.2
  },
  "luminance": 0.78858
}

Semantic roles & 50–950 ramp

primary
#BAF875
secondary
#853ED3
accent
#00E66D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF875

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

Preview Lab → · Contrast checker → · Palette generator →

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