HSL(63, 30%, 52%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(63,30%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(63, 30%, 52%) | color: hsl(63, 30%, 52%) | |
| HEX | #A6A960 | color: #A6A960 | |
| RGB | rgb(166, 169, 96) | color: rgb(166, 169, 96) | |
| CMYK | cmyk(2%, 0%, 43%, 34%) | — | |
| HSV | hsv(62, 43%, 66%) | — | |
| HWB | hwb(62 38% 34%) | color: hwb(62 38% 34%) | |
| OKLCH | oklch(0.7158 0.0959 110.64) | color: oklch(0.7158 0.0959 110.64) | |
| Lab | lab(67.52 -12.08 37.2) | color: lab(67.52 -12.08 37.2) | |
| LCH | lch(67.52 39.11 107.99) | color: lch(67.52 39.11 107.99) |
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)
#A7A772 — rgb(167, 167, 114)
Deuteranopia (Green-blind)
#A7A776 — rgb(167, 167, 118)
Tritanopia (Blue-blind)
#A68083 — rgb(166, 128, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(63, 30%, 52%);
text
color: hsl(63, 30%, 52%);
border
border: 2px solid hsl(63, 30%, 52%);
gradient light
background: linear-gradient(to right, hsl(63, 30%, 72%), hsl(63, 30%, 52%));
gradient dark
background: linear-gradient(to right, hsl(63, 30%, 52%), hsl(63, 30%, 32%))
hex
background-color: #A6A960;
tailwind
bg-[hsl(63,30%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(63, 30%, 52%, 0.4);
css variable
--color-primary: hsl(63, 30%, 52%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(63, 30%, 52%)?
HEX: #A6A960 | RGB: rgb(166, 169, 96) | CMYK: 2%, 0%, 43%, 34% | HSV: 62°, 43%, 66%. Copy any format from the conversion table above.
What colors go well with #A6A960?
The complementary color is HSL(243, 30%, 52%). For a triadic harmony, use hues 63°, 183°, and 303°. For analogous combinations, try hues 33° and 93°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(63, 30%, 52%) in CSS?
As HSL: color: hsl(63, 30%, 52%); — As HEX: color: #A6A960; — As RGB: color: rgb(166, 169, 96); — Tailwind CSS: bg-[hsl(63,30%,52%)] — CSS variable: --color-primary: hsl(63, 30%, 52%);