#C8D40E

#c8d40e ≈ Pear

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#c8d40e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 83.14% green and 5.49% blue; printed in CMYK it uses 5.66% cyan, 0% magenta, 93.4% yellow and 16.86% black. Its hue angle is 63.64°, with 87.61% saturation and 44.31% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.88:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.39.

Description generated from the measured properties of this color.

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

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

Achromatopsia #cbcbcb ≈ 0.003% of males
Achromatomaly #cacea1 ≈ 0.001% of males
Protanopia #e5c900 ≈ 1.01% of males
Deuteranopia #e4cc2c ≈ 1.27% of males
Tritanopia #d6c7b5 ≈ 0.0001% of males
Protanomaly #dace00 ≈ 1.08% of males
Deuteranomaly #dacf23 ≈ 4.63% of males
Tritanomaly #d1cc90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8d40e {
  color: #c8d40e;
}
Background
.bg-c8d40e {
  background-color: #c8d40e;
  color: #000000;
}
Border
.border-c8d40e {
  border: 2px solid #c8d40e;
}
CSS variables
:root {
  --color-primary: #c8d40e;
  --color-primary-rgb: 200 212 14;
  --color-primary-hsl: 64 88% 44%;
}
Gradient
.gradient-c8d40e {
  background: linear-gradient(135deg, #c8d40e, #65d40e);
}
Colored shadow
.shadow-c8d40e {
  box-shadow: 0 8px 24px rgb(200 212 14 / 0.35);
}

Pear
#c8d40e  rgb(200, 212, 14)  hsl(64, 88%, 44%)  Pear
#1a0ed4  rgb(26, 14, 212)  hsl(244, 88%, 44%)  Medium Blue
#0ec8d4  rgb(14, 200, 212)  hsl(184, 88%, 44%)  Dark Turquoise
#d40ec8  rgb(212, 14, 200)  hsl(304, 88%, 44%)  Medium Orchid