#664D02

#664d02 ≈ Field Drab

  • yellow
  • Lightness: low
  • Saturation: moderate
  • Warm

#664d02 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 40% red, 30.2% green and 0.78% blue; printed in CMYK it uses 0% cyan, 24.51% magenta, 98.04% yellow and 60% black. Its hue angle is 45°, with 96.15% saturation and 20.39% 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 luxury branding. White text on this color reaches a contrast ratio of 7.99:1 (WCAG AAA). The closest named color is Field Drab (#6c541e), ΔE 3.81.

Description generated from the measured properties of this color.

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

Readable text 7.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #5a4f3f ≈ 0.001% of males
Protanopia #584d00 ≈ 1.01% of males
Deuteranopia #5e5307 ≈ 1.27% of males
Tritanopia #704541 ≈ 0.0001% of males
Protanomaly #5e4d00 ≈ 1.08% of males
Deuteranomaly #615105 ≈ 4.63% of males
Tritanomaly #6c4832 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-664d02 {
  color: #664d02;
}
Background
.bg-664d02 {
  background-color: #664d02;
  color: #ffffff;
}
Border
.border-664d02 {
  border: 2px solid #664d02;
}
CSS variables
:root {
  --color-primary: #664d02;
  --color-primary-rgb: 102 77 2;
  --color-primary-hsl: 45 96% 20%;
}
Gradient
.gradient-664d02 {
  background: linear-gradient(135deg, #664d02, #4d6602);
}
Colored shadow
.shadow-664d02 {
  box-shadow: 0 8px 24px rgb(102 77 2 / 0.35);
}

Field Drab
#664d02  rgb(102, 77, 2)  hsl(45, 96%, 20%)  Field Drab
#021b66  rgb(2, 27, 102)  hsl(225, 96%, 20%)  Midnight Blue
#02664d  rgb(2, 102, 77)  hsl(165, 96%, 20%)  Tropical Rain Forest
#4d0266  rgb(77, 2, 102)  hsl(285, 96%, 20%)  Indigo