#FFC831

#ffc831 ≈ Sunglow

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

#ffc831 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 78.43% green and 19.22% blue; printed in CMYK it uses 0% cyan, 21.57% magenta, 80.78% yellow and 0% black. Its hue angle is 43.98°, with 100% saturation and 59.61% 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 13.56:1 (WCAG AAA). The closest named color is Sunglow (#ffcc33), ΔE 1.37.

Description generated from the measured properties of this color.

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

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #e4cda8 ≈ 0.001% of males
Protanopia #e1c702 ≈ 1.01% of males
Deuteranopia #eed63a ≈ 1.27% of males
Tritanopia #ffb5ac ≈ 0.0001% of males
Protanomaly #eec71e ≈ 1.08% of males
Deuteranomaly #f5d037 ≈ 4.63% of males
Tritanomaly #ffbd8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ffc831 {
  color: #ffc831;
}
Background
.bg-ffc831 {
  background-color: #ffc831;
  color: #000000;
}
Border
.border-ffc831 {
  border: 2px solid #ffc831;
}
CSS variables
:root {
  --color-primary: #ffc831;
  --color-primary-rgb: 255 200 49;
  --color-primary-hsl: 44 100% 60%;
}
Gradient
.gradient-ffc831 {
  background: linear-gradient(135deg, #ffc831, #cfff31);
}
Colored shadow
.shadow-ffc831 {
  box-shadow: 0 8px 24px rgb(255 200 49 / 0.35);
}

Sunglow
#ffc831  rgb(255, 200, 49)  hsl(44, 100%, 60%)  Sunglow
#3168ff  rgb(49, 104, 255)  hsl(224, 100%, 60%)  Ultramarine Blue
#31ffc8  rgb(49, 255, 200)  hsl(164, 100%, 60%)  Aquamarine
#c831ff  rgb(200, 49, 255)  hsl(284, 100%, 60%)  Electric Purple