#BAF380#BAF380

#BAF380 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.0% C 0.157 H 130.6°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#BAF380
RGBrgb(186, 243, 128)
HSLhsl(90, 83%, 73%)
HSVhsv(90, 47%, 95%)
CMYKcmyk(23.5%, 0%, 47.3%, 4.7%)
CIE-LABlab(89.90, -36.83, 49.42)
CIE-LCHlch(89.90, 61.64, 126.70°)
OKLaboklab(90.02% -0.102 0.1189)
OKLCHoklch(90.02% 0.157 130.6)
XYZxyz(56.1959, 76.0976, 32.1455)
Luminance0.7610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF380 #B980F3
analogous
#F3F280 #BAF380 #80F380
triadic
#BAF380 #80BAF3 #F380BA
tetradic
#BAF380 #80F3F2 #B980F3 #F38080
square
#BAF380 #80F3F2 #B980F3 #F38080
split-complementary
#BAF380 #8080F3 #F280F3
monochromatic
#7DE315 #9CEE48 #BAF380 #D8F8B8 #F0FCE3

Accessibility & contrast

On white

1.29
#BAF380 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#BAF380 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF380
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF380#FFFFFF#000000##000000
##BAF3801.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE576
Deuteranopia (green-blind)
#F4E187
Tritanopia (blue-blind)
#BDEBD8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf380;
/* rgb */ color: rgb(186, 243, 128);
/* oklch */ color: oklch(90.0% 0.157 130.6);
Tailwind
colors: {
  custom: {
    50: '#d1f7a7',
    500: '#baf380',
    950: '#000000',
  },
}
SCSS
$custom: #baf380;
$custom-light: #d1f7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#baf380",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 128
  },
  "hsl": {
    "h": 89.739,
    "s": 82.734,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90023,
    "c": 0.15663,
    "h": 130.6
  },
  "luminance": 0.76099
}

Semantic roles & 50–950 ramp

primary
#BAF380
secondary
#8B49CE
accent
#06DF72
background
#FEFFFC
surface
#FBFEF6
border
#D4D6D0
text
#141710
muted
#838580

Preview Lab

Preview with #BAF380

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

Preview Lab → · Contrast checker → · Palette generator →

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