HSL(102, 70%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(102,70%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(102, 70%, 25%) | color: hsl(102, 70%, 25%) | |
| HEX | #2E6C13 | color: #2E6C13 | |
| RGB | rgb(46, 108, 19) | color: rgb(46, 108, 19) | |
| CMYK | cmyk(57%, 0%, 82%, 58%) | — | |
| HSV | hsv(102, 82%, 42%) | — | |
| HWB | hwb(102 8% 58%) | color: hwb(102 8% 58%) | |
| OKLCH | oklch(0.4721 0.135 138.38) | color: oklch(0.4721 0.135 138.38) | |
| Lab | lab(40.17 -36.52 40.31) | color: lab(40.17 -36.52 40.31) | |
| LCH | lch(40.17 54.39 132.18) | color: lch(40.17 54.39 132.18) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#494929 — rgb(73, 73, 41)
Deuteranopia (Green-blind)
#45412E — rgb(69, 65, 46)
Tritanopia (Blue-blind)
#313A3D — rgb(49, 58, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(102, 70%, 25%);
text
color: hsl(102, 70%, 25%);
border
border: 2px solid hsl(102, 70%, 25%);
gradient light
background: linear-gradient(to right, hsl(102, 70%, 45%), hsl(102, 70%, 25%));
gradient dark
background: linear-gradient(to right, hsl(102, 70%, 25%), hsl(102, 70%, 5%))
hex
background-color: #2E6C13;
tailwind
bg-[hsl(102,70%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(102, 70%, 25%, 0.4);
css variable
--color-primary: hsl(102, 70%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(102, 70%, 25%)?
HEX: #2E6C13 | RGB: rgb(46, 108, 19) | CMYK: 57%, 0%, 82%, 58% | HSV: 102°, 82%, 42%. Copy any format from the conversion table above.
What colors go well with #2E6C13?
The complementary color is HSL(282, 70%, 25%). 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, 70%, 25%) in CSS?
As HSL: color: hsl(102, 70%, 25%); — As HEX: color: #2E6C13; — As RGB: color: rgb(46, 108, 19); — Tailwind CSS: bg-[hsl(102,70%,25%)] — CSS variable: --color-primary: hsl(102, 70%, 25%);