HSL(51, 25%, 65%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,25%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 25%, 65%) | color: hsl(51, 25%, 65%) | |
| HEX | #BCB58F | color: #BCB58F | |
| RGB | rgb(188, 181, 143) | color: rgb(188, 181, 143) | |
| CMYK | cmyk(0%, 4%, 24%, 26%) | — | |
| HSV | hsv(51, 24%, 74%) | — | |
| HWB | hwb(51 56% 26%) | color: hwb(51 56% 26%) | |
| OKLCH | oklch(0.7691 0.0522 98.78) | color: oklch(0.7691 0.0522 98.78) | |
| Lab | lab(73.37 -3.69 20.3) | color: lab(73.37 -3.69 20.3) | |
| LCH | lch(73.37 20.63 100.3) | color: lch(73.37 20.63 100.3) |
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)
#B9B998 — rgb(185, 185, 152)
Deuteranopia (Green-blind)
#B9BA9A — rgb(185, 186, 154)
Tritanopia (Blue-blind)
#BC9FA1 — rgb(188, 159, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 25%, 65%);
text
color: hsl(51, 25%, 65%);
border
border: 2px solid hsl(51, 25%, 65%);
gradient light
background: linear-gradient(to right, hsl(51, 25%, 85%), hsl(51, 25%, 65%));
gradient dark
background: linear-gradient(to right, hsl(51, 25%, 65%), hsl(51, 25%, 45%))
hex
background-color: #BCB58F;
tailwind
bg-[hsl(51,25%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 25%, 65%, 0.4);
css variable
--color-primary: hsl(51, 25%, 65%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 25%, 65%)?
HEX: #BCB58F | RGB: rgb(188, 181, 143) | CMYK: 0%, 4%, 24%, 26% | HSV: 51°, 24%, 74%. Copy any format from the conversion table above.
What colors go well with #BCB58F?
The complementary color is HSL(231, 25%, 65%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 25%, 65%) in CSS?
As HSL: color: hsl(51, 25%, 65%); — As HEX: color: #BCB58F; — As RGB: color: rgb(188, 181, 143); — Tailwind CSS: bg-[hsl(51,25%,65%)] — CSS variable: --color-primary: hsl(51, 25%, 65%);