HSL(63, 70%, 42%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(63,70%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(63, 70%, 42%) | color: hsl(63, 70%, 42%) | |
| HEX | #AFB620 | color: #AFB620 | |
| RGB | rgb(175, 182, 32) | color: rgb(175, 182, 32) | |
| CMYK | cmyk(4%, 0%, 82%, 29%) | — | |
| HSV | hsv(63, 82%, 71%) | — | |
| HWB | hwb(63 13% 29%) | color: hwb(63 13% 29%) | |
| OKLCH | oklch(0.7463 0.158 112.53) | color: oklch(0.7463 0.158 112.53) | |
| Lab | lab(71.33 -19.19 67.59) | color: lab(71.33 -19.19 67.59) | |
| LCH | lch(71.33 70.26 105.85) | color: lch(71.33 70.26 105.85) |
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)
#B2B244 — rgb(178, 178, 68)
Deuteranopia (Green-blind)
#B2B14D — rgb(178, 177, 77)
Tritanopia (Blue-blind)
#AF6167 — rgb(175, 97, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(63, 70%, 42%);
text
color: hsl(63, 70%, 42%);
border
border: 2px solid hsl(63, 70%, 42%);
gradient light
background: linear-gradient(to right, hsl(63, 70%, 62%), hsl(63, 70%, 42%));
gradient dark
background: linear-gradient(to right, hsl(63, 70%, 42%), hsl(63, 70%, 22%))
hex
background-color: #AFB620;
tailwind
bg-[hsl(63,70%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(63, 70%, 42%, 0.4);
css variable
--color-primary: hsl(63, 70%, 42%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(63, 70%, 42%)?
HEX: #AFB620 | RGB: rgb(175, 182, 32) | CMYK: 4%, 0%, 82%, 29% | HSV: 63°, 82%, 71%. Copy any format from the conversion table above.
What colors go well with #AFB620?
The complementary color is HSL(243, 70%, 42%). 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, 70%, 42%) in CSS?
As HSL: color: hsl(63, 70%, 42%); — As HEX: color: #AFB620; — As RGB: color: rgb(175, 182, 32); — Tailwind CSS: bg-[hsl(63,70%,42%)] — CSS variable: --color-primary: hsl(63, 70%, 42%);