#BAFB2D

#bafb2d ≈ Green Yellow

  • yellow-green
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#bafb2d is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 98.43% green and 17.65% blue; printed in CMYK it uses 25.9% cyan, 0% magenta, 82.07% yellow and 1.57% black. Its hue angle is 78.93°, with 96.26% saturation and 58.04% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 16.92:1 (WCAG AAA). The closest named color is Green Yellow (#adff2f), ΔE 2.23.

Description generated from the measured properties of this color.

Conversions of #bafb2d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ccff33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.7962

Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e7e7e7 ≈ 0.003% of males
Achromatomaly #d6efba ≈ 0.001% of males
Protanopia #ffe900 ≈ 1.01% of males
Deuteranopia #ffe646 ≈ 1.27% of males
Tritanopia #c2efd7 ≈ 0.0001% of males
Protanomaly #edf100 ≈ 1.08% of males
Deuteranomaly #e7ee3d ≈ 4.63% of males
Tritanomaly #bff4ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bafb2d {
  color: #bafb2d;
}
Background
.bg-bafb2d {
  background-color: #bafb2d;
  color: #000000;
}
Border
.border-bafb2d {
  border: 2px solid #bafb2d;
}
CSS variables
:root {
  --color-primary: #bafb2d;
  --color-primary-rgb: 186 251 45;
  --color-primary-hsl: 79 96% 58%;
}
Gradient
.gradient-bafb2d {
  background: linear-gradient(135deg, #bafb2d, #53fb2d);
}
Colored shadow
.shadow-bafb2d {
  box-shadow: 0 8px 24px rgb(186 251 45 / 0.35);
}

Green Yellow
#bafb2d  rgb(186, 251, 45)  hsl(79, 96%, 58%)  Green Yellow
#6e2dfb  rgb(110, 45, 251)  hsl(259, 96%, 58%)  Electric Indigo
#2dbafb  rgb(45, 186, 251)  hsl(199, 96%, 58%)  Deep Sky Blue
#fb2dba  rgb(251, 45, 186)  hsl(319, 96%, 58%)  Shocking Pink