#C8D41F

#c8d41f ≈ Pear

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#c8d41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 83.14% green and 12.16% blue; printed in CMYK it uses 5.66% cyan, 0% magenta, 85.38% yellow and 16.86% black. Its hue angle is 63.98°, with 74.49% saturation and 47.65% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 12.89:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.25.

Description generated from the measured properties of this color.

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

Readable text 1.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cacea2 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #e4cc34 ≈ 1.27% of males
Tritanopia #d6c7b5 ≈ 0.0001% of males
Protanomaly #dace00 ≈ 1.08% of males
Deuteranomaly #d9cf2d ≈ 4.63% of males
Tritanomaly #d1cc91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8d41f {
  color: #c8d41f;
}
Background
.bg-c8d41f {
  background-color: #c8d41f;
  color: #000000;
}
Border
.border-c8d41f {
  border: 2px solid #c8d41f;
}
CSS variables
:root {
  --color-primary: #c8d41f;
  --color-primary-rgb: 200 212 31;
  --color-primary-hsl: 64 74% 48%;
}
Gradient
.gradient-c8d41f {
  background: linear-gradient(135deg, #c8d41f, #6dd41f);
}
Colored shadow
.shadow-c8d41f {
  box-shadow: 0 8px 24px rgb(200 212 31 / 0.35);
}

Pear
#c8d41f  rgb(200, 212, 31)  hsl(64, 74%, 48%)  Pear
#2b1fd4  rgb(43, 31, 212)  hsl(244, 74%, 48%)  Medium Blue
#1fc8d4  rgb(31, 200, 212)  hsl(184, 74%, 48%)  Dark Turquoise
#d41fc8  rgb(212, 31, 200)  hsl(304, 74%, 48%)  Medium Orchid