HSL(46, 30%, 71%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,30%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 30%, 71%) | color: hsl(46, 30%, 71%) | |
| HEX | #CBC19F | color: #CBC19F | |
| RGB | rgb(203, 193, 159) | color: rgb(203, 193, 159) | |
| CMYK | cmyk(0%, 5%, 22%, 20%) | — | |
| HSV | hsv(46, 22%, 80%) | — | |
| HWB | hwb(46 62% 20%) | color: hwb(46 62% 20%) | |
| OKLCH | oklch(0.8103 0.0472 93.57) | color: oklch(0.8103 0.0472 93.57) | |
| Lab | lab(78.08 -1.99 18.41) | color: lab(78.08 -1.99 18.41) | |
| LCH | lch(78.08 18.52 96.17) | color: lch(78.08 18.52 96.17) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#C7C7A7 — rgb(199, 199, 167)
Deuteranopia (Green-blind)
#C7C8A9 — rgb(199, 200, 169)
Tritanopia (Blue-blind)
#CBAEAF — rgb(203, 174, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 30%, 71%);
text
color: hsl(46, 30%, 71%);
border
border: 2px solid hsl(46, 30%, 71%);
gradient light
background: linear-gradient(to right, hsl(46, 30%, 91%), hsl(46, 30%, 71%));
gradient dark
background: linear-gradient(to right, hsl(46, 30%, 71%), hsl(46, 30%, 51%))
hex
background-color: #CBC19F;
tailwind
bg-[hsl(46,30%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 30%, 71%, 0.4);
css variable
--color-primary: hsl(46, 30%, 71%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 30%, 71%)?
HEX: #CBC19F | RGB: rgb(203, 193, 159) | CMYK: 0%, 5%, 22%, 20% | HSV: 46°, 22%, 80%. Copy any format from the conversion table above.
What colors go well with #CBC19F?
The complementary color is HSL(226, 30%, 71%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 30%, 71%) in CSS?
As HSL: color: hsl(46, 30%, 71%); — As HEX: color: #CBC19F; — As RGB: color: rgb(203, 193, 159); — Tailwind CSS: bg-[hsl(46,30%,71%)] — CSS variable: --color-primary: hsl(46, 30%, 71%);