#5F7C00
A dark, vivid yellow closely aligning with Olivedrab.
About #5F7C00
The precise color #5F7C00 is an excellent choice for modern design projects. It is closely associated with the named CSS color Olivedrab. This translates to an RGB value of rgb(95, 124, 0).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 23% C, 0% M, 100% Y, and 51% K. With a hue angle of 74.0 degrees, it sits comfortably in the yellow spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#5F7C00
RGB95, 124, 0
HSL74.0°, 100.0%, 24.3%
CMYK23%, 0%, 100%, 51%
HSV74.0°, 100.0%, 48.6%
LAB48.1, -25.8, 52.7
XYZ11.9, 16.8, 2.6
Decimal6257664
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
4.81:1
Text on #FFFFFF
AA
4.37:1
Text on #000000
AA Large
4.59:1
Text on #F8FAFC
AA
3.71:1
Text on #0F172A
AA Large
CSS Implementation
.bg-color {
background-color: #5F7C00;
}
.text-color {
color: #5F7C00;
}
.border-color {
border: 2px solid #5F7C00;
}