Color: #BAFB51

#BAFB51 Color Information

#BAFB51 is a light color. The closest websafe version is #BAFB51. A complement of this color would be #9250FB, perceived brightness is 0.83, and the grayscale version is #A6A6A6.

In the HSL color space, this color has a hue angle of 83°,a saturation of 96%, and a lightness of 65%.The HSV representation shows a hue of 83°, a saturation of 68%, and a value of 98%.

In a RGB color space, #BAFB51 is composed of 73% red, 98% green and 32% blue. Whereas in a CMYK color space, it is composed of 26% cyan, 0% magenta, 68% yellow and 2% black.

In the Yxy color space, this color is represented as Y: 80.58, x: 0.3823, and y: 0.5157.

Color Code #BAFB51

#BAFB51rgb(186, 251, 81)
HEX
#BAFB51
RGB
rgb(186, 251, 81)
HSL
hsl(83, 96%, 65%)
HSV
hsv(83, 68%, 98%)
CMYK
26%, 0%, 68%, 2%
XYZ
X: 59.74, Y: 80.58, Z: 15.93
Lab
L: 91.94, a: -39.04, b: 70.53
Name

Shades of Color #BAFB51

Shades are created by darkening the original color #BAFB51 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #BAFB51

Tints are created by lightening the original color #BAFB51 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#BAFB51rgb(186, 251, 81)

About #BAFB51 Color Code

In the HSL color space, this color has a hue angle of 83°, a saturation of 96%, and a lightness of 65%. The HSV representation shows a hue of 83°, a saturation of 68%, and a value of 98%.

  • HEX: #BAFB51
  • RGB: rgb(186, 251, 81)
  • HSL: hsl(83, 96%, 65%)
  • HSV: hsv(83, 68%, 98%)
  • CMYK: 26.00% cyan, 0.00% magenta, 68.00% yellow, 2.00% black
  • XYZ: 59.74, 80.58, 15.93
  • Yxy: 80.58, 0.3823, 0.5157
  • Hunter Lab: 91.94, -39.04, 70.53
  • CIE-Lab: 91.94, -39.04, 70.53

In the XYZ color space, this color is represented as X: 59.74, Y: 80.58, Z: 15.93. The Yxy representation further refines this as Y: 80.58, x: 0.3823, and y: 0.5157.

In the Hunter Lab color space, this color is represented as L: 91.94, a: -39.04, and b: 70.53. Similarly, in the CIE-Lab color space, it is represented as L: 91.94, a: -39.04, and b: 70.53.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #BAFB51

Triadic colors are three colors evenly spaced around the color wheel, including #BAFB51. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #BAFB51

Analogous colors are adjacent to #BAFB51 on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Split Complementary Colors of #BAFB51

Split complementary colors are two colors adjacent to the complementary color of #BAFB51. They create a balanced and visually appealing color scheme.

Tetradic Colors of #BAFB51

Tetradic colors form a rectangle on the color wheel, including #BAFB51. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #BAFB51

Monochromatic colors are variations of #BAFB51, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #BAFB51

The complementary color of #BAFB51 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #BAFB51

/* Using HEX */
body {
  background-color: #bafb51;
}
/* Using RGB */
body {
  background-color: rgb(186, 251, 81);
}
/* Using RGB with opacity */
body {
  background-color: rgba(186, 251, 81, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(83, 96%, 65%);
}
/* Text color */
p {
  color: #bafb51;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #bafb51;
}
/* Border color */
.box {
  border: 4px solid #bafb51;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #bafb51;
}
Text Shadow Preview
/* Background with text */
div {
  background: #bafb51;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#BAFB51
On Black Background
#BAFB51
On White Background
#BAFB51

HTML Examples of #BAFB51

<!-- Using HEX -->
<div style="background-color: #bafb51; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(186, 251, 81); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(186, 251, 81, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(83, 96%, 65%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #bafb51;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #bafb51; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #bafb51; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #bafb51;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #bafb51; color: #fff; padding: 16px; border-radius: 8px;">
  #BAFB51
</div>
#BAFB51
On Black Background
#BAFB51
On White Background
#BAFB51

Related Colors of #BAFB51

These colors are similar to #BAFB51, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.