HSL(62, 12%, 67%)

Grayish Yellow — Yellow color

Adjust Color

Color Information

Color Name

Grayish Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(62,12%,67%)]

Color Conversions

Format Value CSS Usage
HSL hsl(62, 12%, 67%) color: hsl(62, 12%, 67%)
HEX #B4B5A1 color: #B4B5A1
RGB rgb(180, 181, 161) color: rgb(180, 181, 161)
CMYK cmyk(1%, 0%, 11%, 29%)
HSV hsv(63, 11%, 71%)
HWB hwb(63 63% 29%) color: hwb(63 63% 29%)
OKLCH oklch(0.7667 0.0278 109.37) color: oklch(0.7667 0.0278 109.37)
Lab lab(73.11 -3.91 10.08) color: lab(73.11 -3.91 10.08)
LCH lch(73.11 10.81 111.2) color: lch(73.11 10.81 111.2)

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.09:1
vs Black 10.06: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)

#B4B4A6 — rgb(180, 180, 166)

Deuteranopia (Green-blind)

#B4B4A7 — rgb(180, 180, 167)

Tritanopia (Blue-blind)

#B4AAAB — rgb(180, 170, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(62, 12%, 67%);

text

color: hsl(62, 12%, 67%);

border

border: 2px solid hsl(62, 12%, 67%);

gradient light

background: linear-gradient(to right, hsl(62, 12%, 87%), hsl(62, 12%, 67%));

gradient dark

background: linear-gradient(to right, hsl(62, 12%, 67%), hsl(62, 12%, 47%))

hex

background-color: #B4B5A1;

tailwind

bg-[hsl(62,12%,67%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(62, 12%, 67%, 0.4);

css variable

--color-primary: hsl(62, 12%, 67%);

Related Colors

Use Cases for Grayish Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(62, 12%, 67%)?

HEX: #B4B5A1 | RGB: rgb(180, 181, 161) | CMYK: 1%, 0%, 11%, 29% | HSV: 63°, 11%, 71%. Copy any format from the conversion table above.

What colors go well with #B4B5A1?

The complementary color is HSL(242, 12%, 67%). 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, 12%, 67%) in CSS?

As HSL: color: hsl(62, 12%, 67%); — As HEX: color: #B4B5A1; — As RGB: color: rgb(180, 181, 161); — Tailwind CSS: bg-[hsl(62,12%,67%)] — CSS variable: --color-primary: hsl(62, 12%, 67%);