HSL(56, 82%, 23%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,82%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 82%, 23%) | color: hsl(56, 82%, 23%) | |
| HEX | #6B640B | color: #6B640B | |
| RGB | rgb(107, 100, 11) | color: rgb(107, 100, 11) | |
| CMYK | cmyk(0%, 7%, 90%, 58%) | — | |
| HSV | hsv(56, 90%, 42%) | — | |
| HWB | hwb(56 4% 58%) | color: hwb(56 4% 58%) | |
| OKLCH | oklch(0.4944 0.1006 104.51) | color: oklch(0.4944 0.1006 104.51) | |
| Lab | lab(41.63 -7.13 45.55) | color: lab(41.63 -7.13 45.55) | |
| LCH | lch(41.63 46.1 98.9) | color: lch(41.63 46.1 98.9) |
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)
#686821 — rgb(104, 104, 33)
Deuteranopia (Green-blind)
#686926 — rgb(104, 105, 38)
Tritanopia (Blue-blind)
#6B3235 — rgb(107, 50, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 82%, 23%);
text
color: hsl(56, 82%, 23%);
border
border: 2px solid hsl(56, 82%, 23%);
gradient light
background: linear-gradient(to right, hsl(56, 82%, 43%), hsl(56, 82%, 23%));
gradient dark
background: linear-gradient(to right, hsl(56, 82%, 23%), hsl(56, 82%, 3%))
hex
background-color: #6B640B;
tailwind
bg-[hsl(56,82%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 82%, 23%, 0.4);
css variable
--color-primary: hsl(56, 82%, 23%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 82%, 23%)?
HEX: #6B640B | RGB: rgb(107, 100, 11) | CMYK: 0%, 7%, 90%, 58% | HSV: 56°, 90%, 42%. Copy any format from the conversion table above.
What colors go well with #6B640B?
The complementary color is HSL(236, 82%, 23%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 82%, 23%) in CSS?
As HSL: color: hsl(56, 82%, 23%); — As HEX: color: #6B640B; — As RGB: color: rgb(107, 100, 11); — Tailwind CSS: bg-[hsl(56,82%,23%)] — CSS variable: --color-primary: hsl(56, 82%, 23%);