HSL(53, 70%, 80%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,70%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 70%, 80%) | color: hsl(53, 70%, 80%) | |
| HEX | #F0E7A8 | color: #F0E7A8 | |
| RGB | rgb(240, 231, 168) | color: rgb(240, 231, 168) | |
| CMYK | cmyk(0%, 4%, 30%, 6%) | — | |
| HSV | hsv(53, 30%, 94%) | — | |
| HWB | hwb(53 66% 6%) | color: hwb(53 66% 6%) | |
| OKLCH | oklch(0.9203 0.0812 100.96) | color: oklch(0.9203 0.0812 100.96) | |
| Lab | lab(91.01 -6.35 31.84) | color: lab(91.01 -6.35 31.84) | |
| LCH | lch(91.01 32.47 101.28) | color: lch(91.01 32.47 101.28) |
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)
#ECECB7 — rgb(236, 236, 183)
Deuteranopia (Green-blind)
#EDEDBB — rgb(237, 237, 187)
Tritanopia (Blue-blind)
#F0C3C6 — rgb(240, 195, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 70%, 80%);
text
color: hsl(53, 70%, 80%);
border
border: 2px solid hsl(53, 70%, 80%);
gradient light
background: linear-gradient(to right, hsl(53, 70%, 100%), hsl(53, 70%, 80%));
gradient dark
background: linear-gradient(to right, hsl(53, 70%, 80%), hsl(53, 70%, 60%))
hex
background-color: #F0E7A8;
tailwind
bg-[hsl(53,70%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 70%, 80%, 0.4);
css variable
--color-primary: hsl(53, 70%, 80%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 70%, 80%)?
HEX: #F0E7A8 | RGB: rgb(240, 231, 168) | CMYK: 0%, 4%, 30%, 6% | HSV: 53°, 30%, 94%. Copy any format from the conversion table above.
What colors go well with #F0E7A8?
The complementary color is HSL(233, 70%, 80%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(53, 70%, 80%) in CSS?
As HSL: color: hsl(53, 70%, 80%); — As HEX: color: #F0E7A8; — As RGB: color: rgb(240, 231, 168); — Tailwind CSS: bg-[hsl(53,70%,80%)] — CSS variable: --color-primary: hsl(53, 70%, 80%);