#D2C802
Vivid Yellow
HEX
RGB
HSL
About #D2C802 Vivid Yellow
#D2C802 is a vivid yellow color. In the RGB color model, it is composed of 210 red, 200 green, and 2 blue. In the HSL color space, it has a hue of 57°, saturation of 98%, and lightness of 42%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #D2C802 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
57°
Hue
98%
Saturation
42%
Lightness
Vivid Yellow
Color Harmonies
Colors that work well with #D2C802 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D2C802 against white and black backgrounds.
Aa#D2C802 on White
Contrast Ratio1.75:1
AA ✗AA Large ✗AAA ✗
Aa#D2C802 on Black
Contrast Ratio12:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D2C802 across different color formats.
| Format | Value |
|---|---|
| HEX | #D2C802 |
| RGB | rgb(210, 200, 2) |
| HSL | hsl(57, 98%, 42%) |
| RGB Decimal | 210, 200, 2 |
| RGB Percent | 82.4%, 78.4%, 0.8% |
| CMYK (approx.) | 0%, 5%, 99%, 18% |
Related Palettes
12 palettes using #D2C802 or similar colors