HSL(70, 30%, 51%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(70,30%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(70, 30%, 51%) | color: hsl(70, 30%, 51%) | |
| HEX | #9BA85D | color: #9BA85D | |
| RGB | rgb(155, 168, 93) | color: rgb(155, 168, 93) | |
| CMYK | cmyk(8%, 0%, 45%, 34%) | — | |
| HSV | hsv(70, 45%, 66%) | — | |
| HWB | hwb(70 36% 34%) | color: hwb(70 36% 34%) | |
| OKLCH | oklch(0.7041 0.1005 117.12) | color: oklch(0.7041 0.1005 117.12) | |
| Lab | lab(66.34 -16.4 37.08) | color: lab(66.34 -16.4 37.08) | |
| LCH | lch(66.34 40.54 113.86) | color: lch(66.34 40.54 113.86) |
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)
#A1A16F — rgb(161, 161, 111)
Deuteranopia (Green-blind)
#A09F74 — rgb(160, 159, 116)
Tritanopia (Blue-blind)
#9C7D81 — rgb(156, 125, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(70, 30%, 51%);
text
color: hsl(70, 30%, 51%);
border
border: 2px solid hsl(70, 30%, 51%);
gradient light
background: linear-gradient(to right, hsl(70, 30%, 71%), hsl(70, 30%, 51%));
gradient dark
background: linear-gradient(to right, hsl(70, 30%, 51%), hsl(70, 30%, 31%))
hex
background-color: #9BA85D;
tailwind
bg-[hsl(70,30%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(70, 30%, 51%, 0.4);
css variable
--color-primary: hsl(70, 30%, 51%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(70, 30%, 51%)?
HEX: #9BA85D | RGB: rgb(155, 168, 93) | CMYK: 8%, 0%, 45%, 34% | HSV: 70°, 45%, 66%. Copy any format from the conversion table above.
What colors go well with #9BA85D?
The complementary color is HSL(250, 30%, 51%). For a triadic harmony, use hues 70°, 190°, and 310°. For analogous combinations, try hues 40° and 100°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(70, 30%, 51%) in CSS?
As HSL: color: hsl(70, 30%, 51%); — As HEX: color: #9BA85D; — As RGB: color: rgb(155, 168, 93); — Tailwind CSS: bg-[hsl(70,30%,51%)] — CSS variable: --color-primary: hsl(70, 30%, 51%);