#BAF378#BAF378

#BAF378 is a very light, vivid yellow-green. Relative luminance 0.759; OKLCH L 89.9% C 0.164 H 129.7°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#BAF378
RGBrgb(186, 243, 120)
HSLhsl(88, 84%, 71%)
HSVhsv(88, 51%, 95%)
CMYKcmyk(23.5%, 0%, 50.6%, 4.7%)
CIE-LABlab(89.81, -37.69, 53.05)
CIE-LCHlch(89.81, 65.07, 125.39°)
OKLaboklab(89.92% -0.1049 0.1263)
OKLCHoklch(89.92% 0.164 129.7)
XYZxyz(55.6899, 75.8952, 29.4808)
Luminance0.7590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF378 #B178F3
analogous
#F3EE78 #BAF378 #7CF378
triadic
#BAF378 #78BAF3 #F378BA
tetradic
#BAF378 #78F3EE #B178F3 #F3787C
square
#BAF378 #78F3EE #B178F3 #F3787C
split-complementary
#BAF378 #787CF3 #EE78F3
monochromatic
#80DD14 #9DEE40 #BAF378 #D7F8B0 #F1FDE3

Accessibility & contrast

On white

1.30
#BAF378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.18
#BAF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF378
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF378#FFFFFF#000000##000000
##BAF3781.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#F5E180
Tritanopia (blue-blind)
#BEEAD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf378;
/* rgb */ color: rgb(186, 243, 120);
/* oklch */ color: oklch(89.9% 0.164 129.7);
Tailwind
colors: {
  custom: {
    50: '#d1f7a2',
    500: '#baf378',
    950: '#000000',
  },
}
SCSS
$custom: #baf378;
$custom-light: #d1f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#baf378",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 87.805,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89917,
    "c": 0.16423,
    "h": 129.7
  },
  "luminance": 0.75896
}

Semantic roles & 50–950 ramp

primary
#BAF378
secondary
#8242CE
accent
#05E06B
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF378

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

Preview Lab → · Contrast checker → · Palette generator →

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