HSL(52, 20%, 65%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,20%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 20%, 65%) | color: hsl(52, 20%, 65%) | |
| HEX | #B8B394 | color: #B8B394 | |
| RGB | rgb(184, 179, 148) | color: rgb(184, 179, 148) | |
| CMYK | cmyk(0%, 3%, 20%, 28%) | — | |
| HSV | hsv(52, 20%, 72%) | — | |
| HWB | hwb(52 58% 28%) | color: hwb(52 58% 28%) | |
| OKLCH | oklch(0.7627 0.0429 99.74) | color: oklch(0.7627 0.0429 99.74) | |
| Lab | lab(72.61 -3.42 16.5) | color: lab(72.61 -3.42 16.5) | |
| LCH | lch(72.61 16.85 101.71) | color: lch(72.61 16.85 101.71) |
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)
#B6B69C — rgb(182, 182, 156)
Deuteranopia (Green-blind)
#B6B79D — rgb(182, 183, 157)
Tritanopia (Blue-blind)
#B8A1A3 — rgb(184, 161, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 20%, 65%);
text
color: hsl(52, 20%, 65%);
border
border: 2px solid hsl(52, 20%, 65%);
gradient light
background: linear-gradient(to right, hsl(52, 20%, 85%), hsl(52, 20%, 65%));
gradient dark
background: linear-gradient(to right, hsl(52, 20%, 65%), hsl(52, 20%, 45%))
hex
background-color: #B8B394;
tailwind
bg-[hsl(52,20%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 20%, 65%, 0.4);
css variable
--color-primary: hsl(52, 20%, 65%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 20%, 65%)?
HEX: #B8B394 | RGB: rgb(184, 179, 148) | CMYK: 0%, 3%, 20%, 28% | HSV: 52°, 20%, 72%. Copy any format from the conversion table above.
What colors go well with #B8B394?
The complementary color is HSL(232, 20%, 65%). 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, 20%, 65%) in CSS?
As HSL: color: hsl(52, 20%, 65%); — As HEX: color: #B8B394; — As RGB: color: rgb(184, 179, 148); — Tailwind CSS: bg-[hsl(52,20%,65%)] — CSS variable: --color-primary: hsl(52, 20%, 65%);