#DFC81F

#dfc81f ≈ Citrine

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

#dfc81f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 78.43% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.31% magenta, 86.1% yellow and 12.55% black. Its hue angle is 52.81°, with 75.59% saturation and 49.8% 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.42:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #dfc81f 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.571

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #d1c79f ≈ 0.001% of males
Protanopia #dcc200 ≈ 1.01% of males
Deuteranopia #e3cb30 ≈ 1.27% of males
Tritanopia #f1b8ab ≈ 0.0001% of males
Protanomaly #ddc400 ≈ 1.08% of males
Deuteranomaly #e1ca2a ≈ 4.63% of males
Tritanomaly #eabf89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfc81f {
  color: #dfc81f;
}
Background
.bg-dfc81f {
  background-color: #dfc81f;
  color: #000000;
}
Border
.border-dfc81f {
  border: 2px solid #dfc81f;
}
CSS variables
:root {
  --color-primary: #dfc81f;
  --color-primary-rgb: 223 200 31;
  --color-primary-hsl: 53 76% 50%;
}
Gradient
.gradient-dfc81f {
  background: linear-gradient(135deg, #dfc81f, #96df1f);
}
Colored shadow
.shadow-dfc81f {
  box-shadow: 0 8px 24px rgb(223 200 31 / 0.35);
}

Citrine
#dfc81f  rgb(223, 200, 31)  hsl(53, 76%, 50%)  Citrine
#1f36df  rgb(31, 54, 223)  hsl(233, 76%, 50%)  Persian Blue
#1fdfc8  rgb(31, 223, 200)  hsl(173, 76%, 50%)  Turquoise
#c81fdf  rgb(200, 31, 223)  hsl(293, 76%, 50%)  Electric Purple