HSL(52, 10%, 45%)
Grayish Yellow — Yellow color
Adjust Color
Color Information
Color Name
Grayish Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(52,10%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 10%, 45%) | color: hsl(52, 10%, 45%) | |
| HEX | #7E7B67 | color: #7E7B67 | |
| RGB | rgb(126, 123, 103) | color: rgb(126, 123, 103) | |
| CMYK | cmyk(0%, 2%, 18%, 51%) | — | |
| HSV | hsv(52, 18%, 49%) | — | |
| HWB | hwb(52 40% 51%) | color: hwb(52 40% 51%) | |
| OKLCH | oklch(0.5798 0.0297 100.21) | color: oklch(0.5798 0.0297 100.21) | |
| Lab | lab(51.36 -2.5 11.37) | color: lab(51.36 -2.5 11.37) | |
| LCH | lch(51.36 11.64 102.4) | color: lch(51.36 11.64 102.4) |
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)
#7D7D6C — rgb(125, 125, 108)
Deuteranopia (Green-blind)
#7D7D6D — rgb(125, 125, 109)
Tritanopia (Blue-blind)
#7E7071 — rgb(126, 112, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 10%, 45%);
text
color: hsl(52, 10%, 45%);
border
border: 2px solid hsl(52, 10%, 45%);
gradient light
background: linear-gradient(to right, hsl(52, 10%, 65%), hsl(52, 10%, 45%));
gradient dark
background: linear-gradient(to right, hsl(52, 10%, 45%), hsl(52, 10%, 25%))
hex
background-color: #7E7B67;
tailwind
bg-[hsl(52,10%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 10%, 45%, 0.4);
css variable
--color-primary: hsl(52, 10%, 45%);
Related Colors
Use Cases for Grayish Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 10%, 45%)?
HEX: #7E7B67 | RGB: rgb(126, 123, 103) | CMYK: 0%, 2%, 18%, 51% | HSV: 52°, 18%, 49%. Copy any format from the conversion table above.
What colors go well with #7E7B67?
The complementary color is HSL(232, 10%, 45%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 10%, 45%) in CSS?
As HSL: color: hsl(52, 10%, 45%); — As HEX: color: #7E7B67; — As RGB: color: rgb(126, 123, 103); — Tailwind CSS: bg-[hsl(52,10%,45%)] — CSS variable: --color-primary: hsl(52, 10%, 45%);