HSL(59, 40%, 30%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,40%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 40%, 30%) | color: hsl(59, 40%, 30%) | |
| HEX | #6B6A2E | color: #6B6A2E | |
| RGB | rgb(107, 106, 46) | color: rgb(107, 106, 46) | |
| CMYK | cmyk(0%, 1%, 57%, 58%) | — | |
| HSV | hsv(59, 57%, 42%) | — | |
| HWB | hwb(59 18% 58%) | color: hwb(59 18% 58%) | |
| OKLCH | oklch(0.5117 0.0817 108.09) | color: oklch(0.5117 0.0817 108.09) | |
| Lab | lab(43.7 -8.52 33.28) | color: lab(43.7 -8.52 33.28) | |
| LCH | lch(43.7 34.35 104.36) | color: lch(43.7 34.35 104.36) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6B6B3D — rgb(107, 107, 61)
Deuteranopia (Green-blind)
#6B6B40 — rgb(107, 107, 64)
Tritanopia (Blue-blind)
#6B484B — rgb(107, 72, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 40%, 30%);
text
color: hsl(59, 40%, 30%);
border
border: 2px solid hsl(59, 40%, 30%);
gradient light
background: linear-gradient(to right, hsl(59, 40%, 50%), hsl(59, 40%, 30%));
gradient dark
background: linear-gradient(to right, hsl(59, 40%, 30%), hsl(59, 40%, 10%))
hex
background-color: #6B6A2E;
tailwind
bg-[hsl(59,40%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 40%, 30%, 0.4);
css variable
--color-primary: hsl(59, 40%, 30%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 40%, 30%)?
HEX: #6B6A2E | RGB: rgb(107, 106, 46) | CMYK: 0%, 1%, 57%, 58% | HSV: 59°, 57%, 42%. Copy any format from the conversion table above.
What colors go well with #6B6A2E?
The complementary color is HSL(239, 40%, 30%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 40%, 30%) in CSS?
As HSL: color: hsl(59, 40%, 30%); — As HEX: color: #6B6A2E; — As RGB: color: rgb(107, 106, 46); — Tailwind CSS: bg-[hsl(59,40%,30%)] — CSS variable: --color-primary: hsl(59, 40%, 30%);