HSL(51, 74%, 43%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,74%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 74%, 43%) | color: hsl(51, 74%, 43%) | |
| HEX | #BFA61D | color: #BFA61D | |
| RGB | rgb(191, 166, 29) | color: rgb(191, 166, 29) | |
| CMYK | cmyk(0%, 13%, 85%, 25%) | — | |
| HSV | hsv(51, 85%, 75%) | — | |
| HWB | hwb(51 11% 25%) | color: hwb(51 11% 25%) | |
| OKLCH | oklch(0.7258 0.1432 97.67) | color: oklch(0.7258 0.1432 97.67) | |
| Lab | lab(68.34 -3.99 66.38) | color: lab(68.34 -3.99 66.38) | |
| LCH | lch(68.34 66.5 93.44) | color: lch(68.34 66.5 93.44) |
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)
#B4B43E — rgb(180, 180, 62)
Deuteranopia (Green-blind)
#B6B846 — rgb(182, 184, 70)
Tritanopia (Blue-blind)
#BE585E — rgb(190, 88, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 74%, 43%);
text
color: hsl(51, 74%, 43%);
border
border: 2px solid hsl(51, 74%, 43%);
gradient light
background: linear-gradient(to right, hsl(51, 74%, 63%), hsl(51, 74%, 43%));
gradient dark
background: linear-gradient(to right, hsl(51, 74%, 43%), hsl(51, 74%, 23%))
hex
background-color: #BFA61D;
tailwind
bg-[hsl(51,74%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 74%, 43%, 0.4);
css variable
--color-primary: hsl(51, 74%, 43%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 74%, 43%)?
HEX: #BFA61D | RGB: rgb(191, 166, 29) | CMYK: 0%, 13%, 85%, 25% | HSV: 51°, 85%, 75%. Copy any format from the conversion table above.
What colors go well with #BFA61D?
The complementary color is HSL(231, 74%, 43%). 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, 74%, 43%) in CSS?
As HSL: color: hsl(51, 74%, 43%); — As HEX: color: #BFA61D; — As RGB: color: rgb(191, 166, 29); — Tailwind CSS: bg-[hsl(51,74%,43%)] — CSS variable: --color-primary: hsl(51, 74%, 43%);