#DC970B

#dc970b ≈ Gamboge

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

#dc970b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 59.22% green and 4.31% blue; printed in CMYK it uses 0% cyan, 31.36% magenta, 95% yellow and 13.73% black. Its hue angle is 40.19°, with 90.48% saturation and 45.29% 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 8.47:1 (WCAG AAA). The closest named color is Gamboge (#e49b0f), ΔE 1.66.

Description generated from the measured properties of this color.

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

Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #bd9f83 ≈ 0.001% of males
Protanopia #b09b00 ≈ 1.01% of males
Deuteranopia #c0ab16 ≈ 1.27% of males
Tritanopia #f08481 ≈ 0.0001% of males
Protanomaly #c39900 ≈ 1.08% of males
Deuteranomaly #cca412 ≈ 4.63% of males
Tritanomaly #e88c66 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc970b {
  color: #dc970b;
}
Background
.bg-dc970b {
  background-color: #dc970b;
  color: #000000;
}
Border
.border-dc970b {
  border: 2px solid #dc970b;
}
CSS variables
:root {
  --color-primary: #dc970b;
  --color-primary-rgb: 220 151 11;
  --color-primary-hsl: 40 90% 45%;
}
Gradient
.gradient-dc970b {
  background: linear-gradient(135deg, #dc970b, #b8dc0b);
}
Colored shadow
.shadow-dc970b {
  box-shadow: 0 8px 24px rgb(220 151 11 / 0.35);
}

Gamboge
#dc970b  rgb(220, 151, 11)  hsl(40, 90%, 45%)  Gamboge
#0b50dc  rgb(11, 80, 220)  hsl(220, 90%, 45%)  Sapphire
#0bdc97  rgb(11, 220, 151)  hsl(160, 90%, 45%)  Caribbean Green
#970bdc  rgb(151, 11, 220)  hsl(280, 90%, 45%)  Dark Violet