HSL(48, 74%, 25%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(48,74%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(48, 74%, 25%) | color: hsl(48, 74%, 25%) | |
| HEX | #6F5C11 | color: #6F5C11 | |
| RGB | rgb(111, 92, 17) | color: rgb(111, 92, 17) | |
| CMYK | cmyk(0%, 17%, 85%, 56%) | — | |
| HSV | hsv(48, 85%, 44%) | — | |
| HWB | hwb(48 7% 56%) | color: hwb(48 7% 56%) | |
| OKLCH | oklch(0.4802 0.0915 93.6) | color: oklch(0.4802 0.0915 93.6) | |
| Lab | lab(39.71 -0.32 42.28) | color: lab(39.71 -0.32 42.28) | |
| LCH | lch(39.71 42.28 90.43) | color: lch(39.71 42.28 90.43) |
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)
#676723 — rgb(103, 103, 35)
Deuteranopia (Green-blind)
#686928 — rgb(104, 105, 40)
Tritanopia (Blue-blind)
#6E3135 — rgb(110, 49, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(48, 74%, 25%);
text
color: hsl(48, 74%, 25%);
border
border: 2px solid hsl(48, 74%, 25%);
gradient light
background: linear-gradient(to right, hsl(48, 74%, 45%), hsl(48, 74%, 25%));
gradient dark
background: linear-gradient(to right, hsl(48, 74%, 25%), hsl(48, 74%, 5%))
hex
background-color: #6F5C11;
tailwind
bg-[hsl(48,74%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(48, 74%, 25%, 0.4);
css variable
--color-primary: hsl(48, 74%, 25%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(48, 74%, 25%)?
HEX: #6F5C11 | RGB: rgb(111, 92, 17) | CMYK: 0%, 17%, 85%, 56% | HSV: 48°, 85%, 44%. Copy any format from the conversion table above.
What colors go well with #6F5C11?
The complementary color is HSL(228, 74%, 25%). For a triadic harmony, use hues 48°, 168°, and 288°. For analogous combinations, try hues 18° and 78°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(48, 74%, 25%) in CSS?
As HSL: color: hsl(48, 74%, 25%); — As HEX: color: #6F5C11; — As RGB: color: rgb(111, 92, 17); — Tailwind CSS: bg-[hsl(48,74%,25%)] — CSS variable: --color-primary: hsl(48, 74%, 25%);