#505F1D

A dark, moderate yellow closely aligning with Darkolivegreen.

About #505F1D

The hex code #505F1D represents a beautifully specific shade of yellow. Its closest recognized web color is Darkolivegreen. This translates to an RGB value of rgb(80, 95, 29).

Translating this color to physical media requires the CMYK color model. The color uses 16% Cyan, 0% Magenta, 69% Yellow, and 63% Black. The HSL representation is 73.6° hue, 53.2% saturation, and 24.3% lightness.

When using this color as a background, text legibility must be considered. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#505F1D
RGB80, 95, 29
HSL73.6°, 53.2%, 24.3%
CMYK16%, 0%, 69%, 63%
HSV73.6°, 69.5%, 37.3%
LAB37.8, -16.3, 34.5
XYZ7.6, 10.0, 2.7
Decimal5267229

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.01:1
Text on #FFFFFF
AAA
3.00:1
Text on #000000
FAIL
6.70:1
Text on #F8FAFC
AA
2.55:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #505F1D; }
.text-color { color: #505F1D; }
.border-color { border: 2px solid #505F1D; }

Similar Colors

Darkolivegreen
#556B2F