HSL(102, 27%, 43%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,27%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 27%, 43%) | color: hsl(102, 27%, 43%) | |
| HEX | #628B50 | color: #628B50 | |
| RGB | rgb(98, 139, 80) | color: rgb(98, 139, 80) | |
| CMYK | cmyk(29%, 0%, 42%, 45%) | — | |
| HSV | hsv(102, 42%, 55%) | — | |
| HWB | hwb(102 32% 45%) | color: hwb(102 32% 45%) | |
| OKLCH | oklch(0.5914 0.0969 136.65) | color: oklch(0.5914 0.0969 136.65) | |
| Lab | lab(53.64 -25.75 27.11) | color: lab(53.64 -25.75 27.11) | |
| LCH | lch(53.64 37.39 133.53) | color: lch(53.64 37.39 133.53) |
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)
#74745E — rgb(116, 116, 94)
Deuteranopia (Green-blind)
#716E62 — rgb(113, 110, 98)
Tritanopia (Blue-blind)
#646A6C — rgb(100, 106, 108)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 27%, 43%);
text
color: hsl(102, 27%, 43%);
border
border: 2px solid hsl(102, 27%, 43%);
gradient light
background: linear-gradient(to right, hsl(102, 27%, 63%), hsl(102, 27%, 43%));
gradient dark
background: linear-gradient(to right, hsl(102, 27%, 43%), hsl(102, 27%, 23%))
hex
background-color: #628B50;
tailwind
bg-[hsl(102,27%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 27%, 43%, 0.4);
css variable
--color-primary: hsl(102, 27%, 43%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 27%, 43%)?
HEX: #628B50 | RGB: rgb(98, 139, 80) | CMYK: 29%, 0%, 42%, 45% | HSV: 102°, 42%, 55%. Copy any format from the conversion table above.
What colors go well with #628B50?
The complementary color is HSL(282, 27%, 43%). For a triadic harmony, use hues 102°, 222°, and 342°. For analogous combinations, try hues 72° and 132°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(102, 27%, 43%) in CSS?
As HSL: color: hsl(102, 27%, 43%); — As HEX: color: #628B50; — As RGB: color: rgb(98, 139, 80); — Tailwind CSS: bg-[hsl(102,27%,43%)] — CSS variable: --color-primary: hsl(102, 27%, 43%);