What is the HEX code for olive yellow?
The CSS color olive yellow in HEX format is #c2b709. Use this value directly in CSS, SVG, and most design tools.
How do I use olive yellow in CSS?
To apply olive yellow in CSS:
- Text color: color: #c2b709;
- Background: background-color: #c2b709;
- Border: border-color: #c2b709;
What are all the color format values for olive yellow?
| Format | Value |
|---|---|
| HEX | #c2b709 |
| RGB | rgb(194, 183, 9) |
| HSL | hsl(56.4, 91.1%, 39.8%) |
| CMYK | cmyk(0%, 5.7%, 95.4%, 23.9%) |
How do I convert olive yellow to HEX?
Select olive yellow from the color name list in our color converter. The HEX value — #c2b709 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does olive yellow belong to?
olive yellow belongs to the yellow color family. It is a medium, vivid color with HSL values: hue 56.4°, saturation 91.1%, lightness 39.8%.
How do I create lighter and darker shades of olive yellow?
Lighter variant (lightness 54.8%): #f5e823. Darker variant (lightness 24.799999999999997%): #797206. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is HEX used for?
HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.