HSL(62, 80%, 25%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(62,80%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(62, 80%, 25%) color: hsl(62, 80%, 25%)
HEX #6F730D color: #6F730D
RGB rgb(111, 115, 13) color: rgb(111, 115, 13)
CMYK cmyk(3%, 0%, 89%, 55%)
HSV hsv(62, 89%, 45%)
HWB hwb(62 5% 55%) color: hwb(62 5% 55%)
OKLCH oklch(0.5345 0.1142 112.16) color: oklch(0.5345 0.1142 112.16)
Lab lab(46.54 -13.55 49.27) color: lab(46.54 -13.55 49.27)
LCH lch(46.54 51.1 105.38) color: lch(46.54 51.1 105.38)

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 5.08:1
vs Black 4.13:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#717126 — rgb(113, 113, 38)

Deuteranopia (Green-blind)

#71702C — rgb(113, 112, 44)

Tritanopia (Blue-blind)

#6F393D — rgb(111, 57, 61)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(62, 80%, 25%);

text

color: hsl(62, 80%, 25%);

border

border: 2px solid hsl(62, 80%, 25%);

gradient light

background: linear-gradient(to right, hsl(62, 80%, 45%), hsl(62, 80%, 25%));

gradient dark

background: linear-gradient(to right, hsl(62, 80%, 25%), hsl(62, 80%, 5%))

hex

background-color: #6F730D;

tailwind

bg-[hsl(62,80%,25%)]

box shadow

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

css variable

--color-primary: hsl(62, 80%, 25%);

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(62, 80%, 25%)?

HEX: #6F730D | RGB: rgb(111, 115, 13) | CMYK: 3%, 0%, 89%, 55% | HSV: 62°, 89%, 45%. Copy any format from the conversion table above.

What colors go well with #6F730D?

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

As HSL: color: hsl(62, 80%, 25%); — As HEX: color: #6F730D; — As RGB: color: rgb(111, 115, 13); — Tailwind CSS: bg-[hsl(62,80%,25%)] — CSS variable: --color-primary: hsl(62, 80%, 25%);