#CEC31C Color
#CEC31C is rgb(206, 195, 28) in RGB, hsl(56, 76%, 46%) in HSL, and about cmyk(0%, 5%, 86%, 19%) in CMYK. It has no registered color name of its own — the closest is Citrine (#E4D00A), clearly related but distinguishable side by side at ΔE 9.6. Black text is the more readable choice on this background.
#CEC31Crgb(206, 195, 28)hsl(56, 76%, 46%)hsv(56, 86%, 81%)cmyk(0%, 5%, 86%, 19%)oklch(80.1% 0.165 105.3)lab(77.83% -7.91 73.95)lch(77.83% 74.37 96.11)What #CEC31C Is Called
Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #CEC31C, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.
Browse the full index of named colors A-Z or every yellow in the library.
#CEC31C Channel Values
How #CEC31C breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 206 · G 195 · B 28 | 8-bit channels as sent to the display |
| HSL | H 56° · S 76% · L 46% | Easiest model for building lighter and darker variants |
| HSV | H 56° · S 86% · V 81% | Matches the picker in most design tools |
| CMYK | C 0% · M 5% · Y 86% · K 19% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 1.83:1 vs white · 11.45:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #CEC31C background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #CEC31C in the contrast checker.
Colors That Go With #CEC31C
Pairings derived from color-wheel relationships. The complementary color sits opposite #CEC31C; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #CEC31C
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #CEC31C.
How #CEC31C Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#CEC31C#C5C51C#C9C41C#C7C719#CAC51A#D8B8B8#D4BC93#BFBFBFUsing #CEC31C in Code
Copy-ready declarations for the places this color usually ends up.
--color-cec31c: #CEC31C;background-color: #CEC31C;colors: { 'color-cec31c': '#CEC31C' }Color(red: 0.808, green: 0.765, blue: 0.110)<color name="color_cec31c">#CEC31C</color>fill="#CEC31C"More Yellow Colors
#CEC31C sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.
#CEC31C Frequently Asked Questions
What color is #CEC31C?
#CEC31C is a mid-tone yellow — rgb(206, 195, 28) in RGB and hsl(56, 76%, 46%) in HSL. It carries no registered color name of its own; the closest named color is Citrine (#E4D00A), which is clearly related but distinguishable side by side at a CIE76 distance of 9.6.
What is the RGB value of #CEC31C?
#CEC31C is rgb(206, 195, 28) — red 206, green 195, and blue 28 on the 0-255 scale.
What is the CMYK value of #CEC31C?
#CEC31C converts to approximately cmyk(0%, 5%, 86%, 19%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #CEC31C be black or white?
Black text is the more readable choice. #CEC31C scores 1.83:1 against white and 11.45:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #CEC31C as a CSS color keyword?
No. #CEC31C is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is gold (#FFD700) at a CIE76 distance of 19.2, which is visibly different.
Open #CEC31C in a Tool
Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.