#BAF48B#BAF48B

#BAF48B is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.4% C 0.147 H 132.3°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#BAF48B
RGBrgb(186, 244, 139)
HSLhsl(93, 83%, 75%)
HSVhsv(93, 43%, 96%)
CMYKcmyk(23.8%, 0%, 43%, 4.3%)
CIE-LABlab(90.32, -36.00, 44.68)
CIE-LCHlch(90.32, 57.38, 128.86°)
OKLaboklab(90.41% -0.0991 0.1088)
OKLCHoklch(90.41% 0.147 132.3)
XYZxyz(57.2596, 77.0032, 36.2674)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF48B #C58BF4
analogous
#EEF48B #BAF48B #8BF491
triadic
#BAF48B #8BBAF4 #F48BBA
tetradic
#BAF48B #8BEEF4 #C58BF4 #F4918B
square
#BAF48B #8BEEF4 #C58BF4 #F4918B
split-complementary
#BAF48B #918BF4 #F48BEE
monochromatic
#77E91B #99EF53 #BAF48B #DBF9C3 #EEFCE3

Accessibility & contrast

On white

1.28
#BAF48B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#BAF48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF48B
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF48B#FFFFFF#000000##000000
##BAF48B1.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE683
Deuteranopia (green-blind)
#F3E291
Tritanopia (blue-blind)
#BCECDB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf48b;
/* rgb */ color: rgb(186, 244, 139);
/* oklch */ color: oklch(90.4% 0.147 132.3);
Tailwind
colors: {
  custom: {
    50: '#d0f8ae',
    500: '#baf48b',
    950: '#000000',
  },
}
SCSS
$custom: #baf48b;
$custom-light: #d0f8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#baf48b",
  "rgb": {
    "r": 186,
    "g": 244,
    "b": 139
  },
  "hsl": {
    "h": 93.143,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90407,
    "c": 0.14715,
    "h": 132.3
  },
  "luminance": 0.77005
}

Semantic roles & 50–950 ramp

primary
#BAF48B
secondary
#9852D1
accent
#06DF7E
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #BAF48B

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

Preview Lab → · Contrast checker → · Palette generator →

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