HSL(64, 70%, 37%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(64,70%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(64, 70%, 37%) | color: hsl(64, 70%, 37%) | |
| HEX | #98A01C | color: #98A01C | |
| RGB | rgb(152, 160, 28) | color: rgb(152, 160, 28) | |
| CMYK | cmyk(5%, 0%, 83%, 37%) | — | |
| HSV | hsv(64, 83%, 63%) | — | |
| HWB | hwb(64 11% 37%) | color: hwb(64 11% 37%) | |
| OKLCH | oklch(0.6771 0.1437 113.34) | color: oklch(0.6771 0.1437 113.34) | |
| Lab | lab(63.26 -18.2 60.97) | color: lab(63.26 -18.2 60.97) | |
| LCH | lch(63.26 63.63 106.62) | color: lch(63.26 63.63 106.62) |
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)
#9B9C3C — rgb(155, 156, 60)
Deuteranopia (Green-blind)
#9B9A44 — rgb(155, 154, 68)
Tritanopia (Blue-blind)
#98555B — rgb(152, 85, 91)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(64, 70%, 37%);
text
color: hsl(64, 70%, 37%);
border
border: 2px solid hsl(64, 70%, 37%);
gradient light
background: linear-gradient(to right, hsl(64, 70%, 57%), hsl(64, 70%, 37%));
gradient dark
background: linear-gradient(to right, hsl(64, 70%, 37%), hsl(64, 70%, 17%))
hex
background-color: #98A01C;
tailwind
bg-[hsl(64,70%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(64, 70%, 37%, 0.4);
css variable
--color-primary: hsl(64, 70%, 37%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(64, 70%, 37%)?
HEX: #98A01C | RGB: rgb(152, 160, 28) | CMYK: 5%, 0%, 83%, 37% | HSV: 64°, 83%, 63%. Copy any format from the conversion table above.
What colors go well with #98A01C?
The complementary color is HSL(244, 70%, 37%). For a triadic harmony, use hues 64°, 184°, and 304°. For analogous combinations, try hues 34° and 94°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(64, 70%, 37%) in CSS?
As HSL: color: hsl(64, 70%, 37%); — As HEX: color: #98A01C; — As RGB: color: rgb(152, 160, 28); — Tailwind CSS: bg-[hsl(64,70%,37%)] — CSS variable: --color-primary: hsl(64, 70%, 37%);