#BAF566#BAF566

#BAF566 is a very light, vivid yellow-green. Relative luminance 0.767; OKLCH L 90.2% C 0.183 H 128.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#BAF566
RGBrgb(186, 245, 102)
HSLhsl(85, 88%, 68%)
HSVhsv(85, 58%, 96%)
CMYKcmyk(24.1%, 0%, 58.4%, 3.9%)
CIE-LABlab(90.18, -40.28, 61.50)
CIE-LCHlch(90.18, 73.51, 123.22°)
OKLaboklab(90.16% -0.1135 0.143)
OKLCHoklch(90.16% 0.183 128.4)
XYZxyz(55.3001, 76.7021, 24.4593)
Luminance0.7670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAF566 #A166F5
analogous
#F5E866 #BAF566 #72F566
triadic
#BAF566 #66BAF5 #F566BA
tetradic
#BAF566 #66F5E8 #A166F5 #F56672
square
#BAF566 #66F5E8 #A166F5 #F56672
split-complementary
#BAF566 #6672F5 #E866F5
monochromatic
#82D30E #A0F12D #BAF566 #D4F99F #EEFDD9

Accessibility & contrast

On white

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

On black

16.34
#BAF566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAF566
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAF566#FFFFFF#000000##000000
##BAF5661.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE556
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#BFEBD6
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #baf566;
/* rgb */ color: rgb(186, 245, 102);
/* oklch */ color: oklch(90.2% 0.183 128.4);
Tailwind
colors: {
  custom: {
    50: '#d2f896',
    500: '#baf566',
    950: '#000000',
  },
}
SCSS
$custom: #baf566;
$custom-light: #d2f896;
$custom-dark: #000000;
JSON
{
  "hex": "#baf566",
  "rgb": {
    "r": 186,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 84.755,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.9016,
    "c": 0.18261,
    "h": 128.4
  },
  "luminance": 0.76703
}

Semantic roles & 50–950 ramp

primary
#BAF566
secondary
#7231CE
accent
#01E45F
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #BAF566

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

Preview Lab → · Contrast checker → · Palette generator →

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