HSL(62, 30%, 60%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(62,30%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(62, 30%, 60%) | color: hsl(62, 30%, 60%) | |
| HEX | #B6B87A | color: #B6B87A | |
| RGB | rgb(182, 184, 122) | color: rgb(182, 184, 122) | |
| CMYK | cmyk(1%, 0%, 34%, 28%) | — | |
| HSV | hsv(62, 34%, 72%) | — | |
| HWB | hwb(62 48% 28%) | color: hwb(62 48% 28%) | |
| OKLCH | oklch(0.7662 0.0823 109.76) | color: oklch(0.7662 0.0823 109.76) | |
| Lab | lab(73.31 -10.42 31.32) | color: lab(73.31 -10.42 31.32) | |
| LCH | lch(73.31 33.01 108.4) | color: lch(73.31 33.01 108.4) |
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)
#B7B789 — rgb(183, 183, 137)
Deuteranopia (Green-blind)
#B7B78D — rgb(183, 183, 141)
Tritanopia (Blue-blind)
#B69597 — rgb(182, 149, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(62, 30%, 60%);
text
color: hsl(62, 30%, 60%);
border
border: 2px solid hsl(62, 30%, 60%);
gradient light
background: linear-gradient(to right, hsl(62, 30%, 80%), hsl(62, 30%, 60%));
gradient dark
background: linear-gradient(to right, hsl(62, 30%, 60%), hsl(62, 30%, 40%))
hex
background-color: #B6B87A;
tailwind
bg-[hsl(62,30%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(62, 30%, 60%, 0.4);
css variable
--color-primary: hsl(62, 30%, 60%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(62, 30%, 60%)?
HEX: #B6B87A | RGB: rgb(182, 184, 122) | CMYK: 1%, 0%, 34%, 28% | HSV: 62°, 34%, 72%. Copy any format from the conversion table above.
What colors go well with #B6B87A?
The complementary color is HSL(242, 30%, 60%). For a triadic harmony, use hues 62°, 182°, and 302°. For analogous combinations, try hues 32° and 92°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(62, 30%, 60%) in CSS?
As HSL: color: hsl(62, 30%, 60%); — As HEX: color: #B6B87A; — As RGB: color: rgb(182, 184, 122); — Tailwind CSS: bg-[hsl(62,30%,60%)] — CSS variable: --color-primary: hsl(62, 30%, 60%);