#FFAF02

#ffaf02 ≈ Orange

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

#ffaf02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 68.63% green and 0.78% blue; printed in CMYK it uses 0% cyan, 31.37% magenta, 99.22% yellow and 0% black. Its hue angle is 41.03°, with 100% saturation and 50.39% 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 11.38:1 (WCAG AAA). The closest named color is Orange (#ffa500), ΔE 3.54.

Description generated from the measured properties of this color.

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

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #dbb998 ≈ 0.001% of males
Protanopia #ccb300 ≈ 1.01% of males
Deuteranopia #dfc714 ≈ 1.27% of males
Tritanopia #ff9995 ≈ 0.0001% of males
Protanomaly #e2b200 ≈ 1.08% of males
Deuteranomaly #ecbe0e ≈ 4.63% of males
Tritanomaly #ffa376 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Orange
#ffaf02  rgb(255, 175, 2)  hsl(41, 100%, 50%)  Orange
#0252ff  rgb(2, 82, 255)  hsl(221, 100%, 50%)  Ultramarine Blue
#02ffaf  rgb(2, 255, 175)  hsl(161, 100%, 50%)  Medium Spring Green
#af02ff  rgb(175, 2, 255)  hsl(281, 100%, 50%)  Vivid Violet