#BAF552#BAF552

#BAF552 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.0% C 0.198 H 127.2°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#BAF552
RGBrgb(186, 245, 82)
HSLhsl(82, 89%, 64%)
HSVhsv(82, 67%, 96%)
CMYKcmyk(24.1%, 0%, 66.5%, 3.9%)
CIE-LABlab(90.02, -41.79, 69.39)
CIE-LCHlch(90.02, 81.01, 121.06°)
OKLaboklab(89.98% -0.1194 0.1574)
OKLCHoklch(89.98% 0.198 127.2)
XYZxyz(54.4252, 76.3521, 19.8510)
Luminance0.7635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF552 #8D52F5
analogous
#F5DF52 #BAF552 #69F552
triadic
#BAF552 #52BAF5 #F552BA
tetradic
#BAF552 #52F5DF #8D52F5 #F55269
square
#BAF552 #52F5DF #8D52F5 #F55269
split-complementary
#BAF552 #5269F5 #DF52F5
monochromatic
#7FC10B #A3F218 #BAF552 #D1F88C #E8FCC6

Accessibility & contrast

On white

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

On black

16.27
#BAF552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF552
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF552#FFFFFF#000000##000000
##BAF5521.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53A
Deuteranopia (green-blind)
#F9E15F
Tritanopia (blue-blind)
#C1EAD4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #baf552;
/* rgb */ color: rgb(186, 245, 82);
/* oklch */ color: oklch(90.0% 0.198 127.2);
Tailwind
colors: {
  custom: {
    50: '#d3f88b',
    500: '#baf552',
    950: '#000000',
  },
}
SCSS
$custom: #baf552;
$custom-light: #d3f88b;
$custom-dark: #000000;
JSON
{
  "hex": "#baf552",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 82
  },
  "hsl": {
    "h": 81.718,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89977,
    "c": 0.19751,
    "h": 127.2
  },
  "luminance": 0.76353
}

Semantic roles & 50–950 ramp

primary
#BAF552
secondary
#612CBF
accent
#00E653
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #BAF552

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

Preview Lab → · Contrast checker → · Palette generator →

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