HSL(63, 30%, 52%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(63,30%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(63, 30%, 52%) color: hsl(63, 30%, 52%)
HEX #A6A960 color: #A6A960
RGB rgb(166, 169, 96) color: rgb(166, 169, 96)
CMYK cmyk(2%, 0%, 43%, 34%)
HSV hsv(62, 43%, 66%)
HWB hwb(62 38% 34%) color: hwb(62 38% 34%)
OKLCH oklch(0.7158 0.0959 110.64) color: oklch(0.7158 0.0959 110.64)
Lab lab(67.52 -12.08 37.2) color: lab(67.52 -12.08 37.2)
LCH lch(67.52 39.11 107.99) color: lch(67.52 39.11 107.99)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.48:1
vs Black 8.47:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A7A772 — rgb(167, 167, 114)

Deuteranopia (Green-blind)

#A7A776 — rgb(167, 167, 118)

Tritanopia (Blue-blind)

#A68083 — rgb(166, 128, 131)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(63, 30%, 52%);

text

color: hsl(63, 30%, 52%);

border

border: 2px solid hsl(63, 30%, 52%);

gradient light

background: linear-gradient(to right, hsl(63, 30%, 72%), hsl(63, 30%, 52%));

gradient dark

background: linear-gradient(to right, hsl(63, 30%, 52%), hsl(63, 30%, 32%))

hex

background-color: #A6A960;

tailwind

bg-[hsl(63,30%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(63, 30%, 52%, 0.4);

css variable

--color-primary: hsl(63, 30%, 52%);

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(63, 30%, 52%)?

HEX: #A6A960 | RGB: rgb(166, 169, 96) | CMYK: 2%, 0%, 43%, 34% | HSV: 62°, 43%, 66%. Copy any format from the conversion table above.

What colors go well with #A6A960?

The complementary color is HSL(243, 30%, 52%). For a triadic harmony, use hues 63°, 183°, and 303°. For analogous combinations, try hues 33° and 93°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(63, 30%, 52%) in CSS?

As HSL: color: hsl(63, 30%, 52%); — As HEX: color: #A6A960; — As RGB: color: rgb(166, 169, 96); — Tailwind CSS: bg-[hsl(63,30%,52%)] — CSS variable: --color-primary: hsl(63, 30%, 52%);