HSL(74, 89%, 27%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(74,89%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(74, 89%, 27%) | color: hsl(74, 89%, 27%) | |
| HEX | #668208 | color: #668208 | |
| RGB | rgb(102, 130, 8) | color: rgb(102, 130, 8) | |
| CMYK | cmyk(22%, 0%, 94%, 49%) | — | |
| HSV | hsv(74, 94%, 51%) | — | |
| HWB | hwb(74 3% 49%) | color: hwb(74 3% 49%) | |
| OKLCH | oklch(0.5643 0.1368 123.55) | color: oklch(0.5643 0.1368 123.55) | |
| Lab | lab(50.46 -25.55 53.2) | color: lab(50.46 -25.55 53.2) | |
| LCH | lch(50.46 59.02 115.65) | color: lch(50.46 59.02 115.65) |
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)
#727226 — rgb(114, 114, 38)
Deuteranopia (Green-blind)
#716E2D — rgb(113, 110, 45)
Tritanopia (Blue-blind)
#673D42 — rgb(103, 61, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(74, 89%, 27%);
text
color: hsl(74, 89%, 27%);
border
border: 2px solid hsl(74, 89%, 27%);
gradient light
background: linear-gradient(to right, hsl(74, 89%, 47%), hsl(74, 89%, 27%));
gradient dark
background: linear-gradient(to right, hsl(74, 89%, 27%), hsl(74, 89%, 7%))
hex
background-color: #668208;
tailwind
bg-[hsl(74,89%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(74, 89%, 27%, 0.4);
css variable
--color-primary: hsl(74, 89%, 27%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(74, 89%, 27%)?
HEX: #668208 | RGB: rgb(102, 130, 8) | CMYK: 22%, 0%, 94%, 49% | HSV: 74°, 94%, 51%. Copy any format from the conversion table above.
What colors go well with #668208?
The complementary color is HSL(254, 89%, 27%). For a triadic harmony, use hues 74°, 194°, and 314°. For analogous combinations, try hues 44° and 104°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(74, 89%, 27%) in CSS?
As HSL: color: hsl(74, 89%, 27%); — As HEX: color: #668208; — As RGB: color: rgb(102, 130, 8); — Tailwind CSS: bg-[hsl(74,89%,27%)] — CSS variable: --color-primary: hsl(74, 89%, 27%);