HSL(64, 40%, 30%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,40%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 40%, 30%) | color: hsl(64, 40%, 30%) | |
| HEX | #676B2E | color: #676B2E | |
| RGB | rgb(103, 107, 46) | color: rgb(103, 107, 46) | |
| CMYK | cmyk(4%, 0%, 57%, 58%) | — | |
| HSV | hsv(64, 57%, 42%) | — | |
| HWB | hwb(64 18% 58%) | color: hwb(64 18% 58%) | |
| OKLCH | oklch(0.5104 0.0837 112.42) | color: oklch(0.5104 0.0837 112.42) | |
| Lab | lab(43.65 -10.93 33.13) | color: lab(43.65 -10.93 33.13) | |
| LCH | lch(43.65 34.89 108.26) | color: lch(43.65 34.89 108.26) |
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)
#69693D — rgb(105, 105, 61)
Deuteranopia (Green-blind)
#696840 — rgb(105, 104, 64)
Tritanopia (Blue-blind)
#67484B — rgb(103, 72, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 40%, 30%);
text
color: hsl(64, 40%, 30%);
border
border: 2px solid hsl(64, 40%, 30%);
gradient light
background: linear-gradient(to right, hsl(64, 40%, 50%), hsl(64, 40%, 30%));
gradient dark
background: linear-gradient(to right, hsl(64, 40%, 30%), hsl(64, 40%, 10%))
hex
background-color: #676B2E;
tailwind
bg-[hsl(64,40%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 40%, 30%, 0.4);
css variable
--color-primary: hsl(64, 40%, 30%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 40%, 30%)?
HEX: #676B2E | RGB: rgb(103, 107, 46) | CMYK: 4%, 0%, 57%, 58% | HSV: 64°, 57%, 42%. Copy any format from the conversion table above.
What colors go well with #676B2E?
The complementary color is HSL(244, 40%, 30%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(64, 40%, 30%) in CSS?
As HSL: color: hsl(64, 40%, 30%); — As HEX: color: #676B2E; — As RGB: color: rgb(103, 107, 46); — Tailwind CSS: bg-[hsl(64,40%,30%)] — CSS variable: --color-primary: hsl(64, 40%, 30%);