#F0E381

#f0e381 ≈ Khaki

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#f0e381 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 89.02% green and 50.59% blue; printed in CMYK it uses 0% cyan, 5.42% magenta, 46.25% yellow and 5.88% black. Its hue angle is 52.97°, with 78.72% saturation and 72.35% 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 16.01:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.61.

Description generated from the measured properties of this color.

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

Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e1e1e1 ≈ 0.003% of males
Achromatomaly #e7e2c2 ≈ 0.001% of males
Protanopia #f3dd79 ≈ 1.01% of males
Deuteranopia #f7e385 ≈ 1.27% of males
Tritanopia #ffd7cc ≈ 0.0001% of males
Protanomaly #f2e07c ≈ 1.08% of males
Deuteranomaly #f4e384 ≈ 4.63% of males
Tritanomaly #f9dcb3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0e381 {
  color: #f0e381;
}
Background
.bg-f0e381 {
  background-color: #f0e381;
  color: #000000;
}
Border
.border-f0e381 {
  border: 2px solid #f0e381;
}
CSS variables
:root {
  --color-primary: #f0e381;
  --color-primary-rgb: 240 227 129;
  --color-primary-hsl: 53 79% 72%;
}
Gradient
.gradient-f0e381 {
  background: linear-gradient(135deg, #f0e381, #c5f081);
}
Colored shadow
.shadow-f0e381 {
  box-shadow: 0 8px 24px rgb(240 227 129 / 0.35);
}

Khaki
#f0e381  rgb(240, 227, 129)  hsl(53, 79%, 72%)  Khaki
#818ef0  rgb(129, 142, 240)  hsl(233, 79%, 72%)  Cornflower Blue
#81f0e3  rgb(129, 240, 227)  hsl(173, 79%, 72%)  Turquoise
#e381f0  rgb(227, 129, 240)  hsl(293, 79%, 72%)  Violet