#5B520C

#5b520c ≈ Field Drab

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

#5b520c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 35.69% red, 32.16% green and 4.71% blue; printed in CMYK it uses 0% cyan, 9.89% magenta, 86.81% yellow and 64.31% black. Its hue angle is 53.16°, with 76.7% saturation and 20.2% 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.9:1 (WCAG AAA). The closest named color is Field Drab (#6c541e), ΔE 6.72.

Description generated from the measured properties of this color.

Conversions of #5b520c 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.0829

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

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #555240 ≈ 0.001% of males
Protanopia #5b4f00 ≈ 1.01% of males
Deuteranopia #5d5312 ≈ 1.27% of males
Tritanopia #634b45 ≈ 0.0001% of males
Protanomaly #5b5004 ≈ 1.08% of males
Deuteranomaly #5c5310 ≈ 4.63% of males
Tritanomaly #604e36 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b520c {
  color: #5b520c;
}
Background
.bg-5b520c {
  background-color: #5b520c;
  color: #ffffff;
}
Border
.border-5b520c {
  border: 2px solid #5b520c;
}
CSS variables
:root {
  --color-primary: #5b520c;
  --color-primary-rgb: 91 82 12;
  --color-primary-hsl: 53 77% 20%;
}
Gradient
.gradient-5b520c {
  background: linear-gradient(135deg, #5b520c, #3d5b0c);
}
Colored shadow
.shadow-5b520c {
  box-shadow: 0 8px 24px rgb(91 82 12 / 0.35);
}

Field Drab
#5b520c  rgb(91, 82, 12)  hsl(53, 77%, 20%)  Field Drab
#0c155b  rgb(12, 21, 91)  hsl(233, 77%, 20%)  Midnight Blue
#0c5b52  rgb(12, 91, 82)  hsl(173, 77%, 20%)  Dark Slate Gray
#520c5b  rgb(82, 12, 91)  hsl(293, 77%, 20%)  Indigo