#FFD938

#ffd938 ≈ Gold

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

#ffd938 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 85.1% green and 21.96% blue; printed in CMYK it uses 0% cyan, 14.9% magenta, 78.04% yellow and 0% black. Its hue angle is 48.54°, with 100% saturation and 60.98% 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 15.23:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.04.

Description generated from the measured properties of this color.

Conversions of #ffd938 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.7117

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dbdbdb ≈ 0.003% of males
Achromatomaly #ebdab2 ≈ 0.001% of males
Protanopia #f0d50e ≈ 1.01% of males
Deuteranopia #fae043 ≈ 1.27% of males
Tritanopia #ffc7bb ≈ 0.0001% of males
Protanomaly #f6d625 ≈ 1.08% of males
Deuteranomaly #fcdd3f ≈ 4.63% of males
Tritanomaly #ffcf98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Gold
#ffd938  rgb(255, 217, 56)  hsl(49, 100%, 61%)  Gold
#385eff  rgb(56, 94, 255)  hsl(229, 100%, 61%)  Ultramarine Blue
#38ffd9  rgb(56, 255, 217)  hsl(169, 100%, 61%)  Aquamarine
#d938ff  rgb(217, 56, 255)  hsl(289, 100%, 61%)  Fuchsia