HSL(114, 40%, 25%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(114,40%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(114, 40%, 25%) | color: hsl(114, 40%, 25%) | |
| HEX | #2B5926 | color: #2B5926 | |
| RGB | rgb(43, 89, 38) | color: rgb(43, 89, 38) | |
| CMYK | cmyk(52%, 0%, 57%, 65%) | — | |
| HSV | hsv(114, 57%, 35%) | — | |
| HWB | hwb(114 15% 65%) | color: hwb(114 15% 65%) | |
| OKLCH | oklch(0.418 0.0948 141.79) | color: oklch(0.418 0.0948 141.79) | |
| Lab | lab(33.56 -27.29 24.51) | color: lab(33.56 -27.29 24.51) | |
| LCH | lch(33.56 36.68 138.07) | color: lch(33.56 36.68 138.07) |
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)
#3F3F32 — rgb(63, 63, 50)
Deuteranopia (Green-blind)
#3C3935 — rgb(60, 57, 53)
Tritanopia (Blue-blind)
#2D3C3E — rgb(45, 60, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(114, 40%, 25%);
text
color: hsl(114, 40%, 25%);
border
border: 2px solid hsl(114, 40%, 25%);
gradient light
background: linear-gradient(to right, hsl(114, 40%, 45%), hsl(114, 40%, 25%));
gradient dark
background: linear-gradient(to right, hsl(114, 40%, 25%), hsl(114, 40%, 5%))
hex
background-color: #2B5926;
tailwind
bg-[hsl(114,40%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(114, 40%, 25%, 0.4);
css variable
--color-primary: hsl(114, 40%, 25%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(114, 40%, 25%)?
HEX: #2B5926 | RGB: rgb(43, 89, 38) | CMYK: 52%, 0%, 57%, 65% | HSV: 114°, 57%, 35%. Copy any format from the conversion table above.
What colors go well with #2B5926?
The complementary color is HSL(294, 40%, 25%). For a triadic harmony, use hues 114°, 234°, and 354°. For analogous combinations, try hues 84° and 144°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(114, 40%, 25%) in CSS?
As HSL: color: hsl(114, 40%, 25%); — As HEX: color: #2B5926; — As RGB: color: rgb(43, 89, 38); — Tailwind CSS: bg-[hsl(114,40%,25%)] — CSS variable: --color-primary: hsl(114, 40%, 25%);