#BAF374#BAF374

#BAF374 is a very light, vivid yellow-green. Relative luminance 0.758; OKLCH L 89.9% C 0.168 H 129.3°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#BAF374
RGBrgb(186, 243, 116)
HSLhsl(87, 84%, 70%)
HSVhsv(87, 52%, 95%)
CMYKcmyk(23.5%, 0%, 52.3%, 4.7%)
CIE-LABlab(89.77, -38.09, 54.83)
CIE-LCHlch(89.77, 66.76, 124.79°)
OKLaboklab(89.87% -0.1064 0.1299)
OKLCHoklch(89.87% 0.168 129.3)
XYZxyz(55.4522, 75.8001, 28.2290)
Luminance0.7580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF374 #AD74F3
analogous
#F3EC74 #BAF374 #7AF374
triadic
#BAF374 #74BAF3 #F374BA
tetradic
#BAF374 #74F3EC #AD74F3 #F3747A
square
#BAF374 #74F3EC #AD74F3 #F3747A
split-complementary
#BAF374 #747AF3 #EC74F3
monochromatic
#80DA13 #9EEE3C #BAF374 #D6F8AC #F1FDE3

Accessibility & contrast

On white

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

On black

16.16
#BAF374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF374
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF374#FFFFFF#000000##000000
##BAF3741.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE468
Deuteranopia (green-blind)
#F5E07C
Tritanopia (blue-blind)
#BEEAD6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf374;
/* rgb */ color: rgb(186, 243, 116);
/* oklch */ color: oklch(89.9% 0.168 129.3);
Tailwind
colors: {
  custom: {
    50: '#d1f79f',
    500: '#baf374',
    950: '#000000',
  },
}
SCSS
$custom: #baf374;
$custom-light: #d1f79f;
$custom-dark: #000000;
JSON
{
  "hex": "#baf374",
  "rgb": {
    "r": 186,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 86.929,
    "s": 84.106,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89867,
    "c": 0.16791,
    "h": 129.3
  },
  "luminance": 0.75801
}

Semantic roles & 50–950 ramp

primary
#BAF374
secondary
#7E3ECD
accent
#05E168
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170F
muted
#838580

Preview Lab

Preview with #BAF374

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

Preview Lab → · Contrast checker → · Palette generator →

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