#D2B71F
Yellow
HEX
RGB
HSL
About #D2B71F Yellow
#D2B71F is a yellow color. In the RGB color model, it is composed of 210 red, 183 green, and 31 blue. In the HSL color space, it has a hue of 51°, saturation of 74%, and lightness of 47%.
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 #D2B71F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
51°
Hue
74%
Saturation
47%
Lightness
Yellow
Color Harmonies
Colors that work well with #D2B71F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D2B71F against white and black backgrounds.
Aa#D2B71F on White
Contrast Ratio1.99:1
AA ✗AA Large ✗AAA ✗
Aa#D2B71F on Black
Contrast Ratio10.53:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D2B71F across different color formats.
| Format | Value |
|---|---|
| HEX | #D2B71F |
| RGB | rgb(210, 183, 31) |
| HSL | hsl(51, 74%, 47%) |
| RGB Decimal | 210, 183, 31 |
| RGB Percent | 82.4%, 71.8%, 12.2% |
| CMYK (approx.) | 0%, 13%, 85%, 18% |
Related Palettes
12 palettes using #D2B71F or similar colors