HSL(54, 52%, 51%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,52%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 52%, 51%) | color: hsl(54, 52%, 51%) | |
| HEX | #C3B641 | color: #C3B641 | |
| RGB | rgb(195, 182, 65) | color: rgb(195, 182, 65) | |
| CMYK | cmyk(0%, 7%, 67%, 24%) | — | |
| HSV | hsv(54, 67%, 76%) | — | |
| HWB | hwb(54 25% 24%) | color: hwb(54 25% 24%) | |
| OKLCH | oklch(0.7657 0.1358 102.94) | color: oklch(0.7657 0.1358 102.94) | |
| Lab | lab(73.18 -9.12 58.8) | color: lab(73.18 -9.12 58.8) | |
| LCH | lch(73.18 59.5 98.82) | color: lch(73.18 59.5 98.82) |
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)
#BDBD5D — rgb(189, 189, 93)
Deuteranopia (Green-blind)
#BEBF64 — rgb(190, 191, 100)
Tritanopia (Blue-blind)
#C27479 — rgb(194, 116, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 52%, 51%);
text
color: hsl(54, 52%, 51%);
border
border: 2px solid hsl(54, 52%, 51%);
gradient light
background: linear-gradient(to right, hsl(54, 52%, 71%), hsl(54, 52%, 51%));
gradient dark
background: linear-gradient(to right, hsl(54, 52%, 51%), hsl(54, 52%, 31%))
hex
background-color: #C3B641;
tailwind
bg-[hsl(54,52%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 52%, 51%, 0.4);
css variable
--color-primary: hsl(54, 52%, 51%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 52%, 51%)?
HEX: #C3B641 | RGB: rgb(195, 182, 65) | CMYK: 0%, 7%, 67%, 24% | HSV: 54°, 67%, 76%. Copy any format from the conversion table above.
What colors go well with #C3B641?
The complementary color is HSL(234, 52%, 51%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 52%, 51%) in CSS?
As HSL: color: hsl(54, 52%, 51%); — As HEX: color: #C3B641; — As RGB: color: rgb(195, 182, 65); — Tailwind CSS: bg-[hsl(54,52%,51%)] — CSS variable: --color-primary: hsl(54, 52%, 51%);