#BAF562#BAF562

#BAF562 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.1% C 0.186 H 128.2°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#BAF562
RGBrgb(186, 245, 98)
HSLhsl(84, 88%, 67%)
HSVhsv(84, 60%, 96%)
CMYKcmyk(24.1%, 0%, 60%, 3.9%)
CIE-LABlab(90.15, -40.61, 63.15)
CIE-LCHlch(90.15, 75.08, 122.75°)
OKLaboklab(90.12% -0.1148 0.1461)
OKLCHoklch(90.12% 0.186 128.2)
XYZxyz(55.1065, 76.6247, 23.4396)
Luminance0.7663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF562 #9D62F5
analogous
#F5E762 #BAF562 #70F562
triadic
#BAF562 #62BAF5 #F562BA
tetradic
#BAF562 #62F5E7 #9D62F5 #F56270
square
#BAF562 #62F5E7 #9D62F5 #F56270
split-complementary
#BAF562 #6270F5 #E762F5
monochromatic
#81CF0D #A1F128 #BAF562 #D3F99C #EDFCD5

Accessibility & contrast

On white

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

On black

16.33
#BAF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF562
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF562#FFFFFF#000000##000000
##BAF5621.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE551
Deuteranopia (green-blind)
#F8E26D
Tritanopia (blue-blind)
#C0EBD6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf562;
/* rgb */ color: rgb(186, 245, 98);
/* oklch */ color: oklch(90.1% 0.186 128.2);
Tailwind
colors: {
  custom: {
    50: '#d2f894',
    500: '#baf562',
    950: '#000000',
  },
}
SCSS
$custom: #baf562;
$custom-light: #d2f894;
$custom-dark: #000000;
JSON
{
  "hex": "#baf562",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 84.082,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90119,
    "c": 0.18581,
    "h": 128.2
  },
  "luminance": 0.76626
}

Semantic roles & 50–950 ramp

primary
#BAF562
secondary
#6E30CB
accent
#01E55C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170D
muted
#83857F

Preview Lab

Preview with #BAF562

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

Preview Lab → · Contrast checker → · Palette generator →

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