#CF940E

#cf940e ≈ Gamboge

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

#cf940e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 58.04% green and 5.49% blue; printed in CMYK it uses 0% cyan, 28.5% magenta, 93.24% yellow and 18.82% black. Its hue angle is 41.66°, with 87.33% saturation and 43.33% 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 7.9:1 (WCAG AAA). The closest named color is Gamboge (#e49b0f), ΔE 4.43.

Description generated from the measured properties of this color.

Conversions of #cf940e 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.3448

Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9f9f9f ≈ 0.003% of males
Achromatomaly #b49a7e ≈ 0.001% of males
Protanopia #ab9600 ≈ 1.01% of males
Deuteranopia #b9a519 ≈ 1.27% of males
Tritanopia #e2837e ≈ 0.0001% of males
Protanomaly #ba9500 ≈ 1.08% of males
Deuteranomaly #c29e15 ≈ 4.63% of males
Tritanomaly #db8a64 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf940e {
  color: #cf940e;
}
Background
.bg-cf940e {
  background-color: #cf940e;
  color: #000000;
}
Border
.border-cf940e {
  border: 2px solid #cf940e;
}
CSS variables
:root {
  --color-primary: #cf940e;
  --color-primary-rgb: 207 148 14;
  --color-primary-hsl: 42 87% 43%;
}
Gradient
.gradient-cf940e {
  background: linear-gradient(135deg, #cf940e, #a9cf0e);
}
Colored shadow
.shadow-cf940e {
  box-shadow: 0 8px 24px rgb(207 148 14 / 0.35);
}

Gamboge
#cf940e  rgb(207, 148, 14)  hsl(42, 87%, 43%)  Gamboge
#0e49cf  rgb(14, 73, 207)  hsl(222, 87%, 43%)  Sapphire
#0ecf94  rgb(14, 207, 148)  hsl(162, 87%, 43%)  Caribbean Green
#940ecf  rgb(148, 14, 207)  hsl(282, 87%, 43%)  Dark Violet