HSL(138, 50%, 79%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(138,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(138, 50%, 79%) | color: hsl(138, 50%, 79%) | |
| HEX | #AFE4BF | color: #AFE4BF | |
| RGB | rgb(175, 228, 191) | color: rgb(175, 228, 191) | |
| CMYK | cmyk(23%, 0%, 16%, 11%) | — | |
| HSV | hsv(138, 23%, 89%) | — | |
| HWB | hwb(138 69% 11%) | color: hwb(138 69% 11%) | |
| OKLCH | oklch(0.8721 0.0746 154.18) | color: oklch(0.8721 0.0746 154.18) | |
| Lab | lab(86.19 -24.25 12.59) | color: lab(86.19 -24.25 12.59) | |
| LCH | lch(86.19 27.32 152.56) | color: lch(86.19 27.32 152.56) |
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)
#C6C6C8 — rgb(198, 198, 200)
Deuteranopia (Green-blind)
#C3BFCA — rgb(195, 191, 202)
Tritanopia (Blue-blind)
#B2CFD1 — rgb(178, 207, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(138, 50%, 79%);
text
color: hsl(138, 50%, 79%);
border
border: 2px solid hsl(138, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(138, 50%, 99%), hsl(138, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(138, 50%, 79%), hsl(138, 50%, 59%))
hex
background-color: #AFE4BF;
tailwind
bg-[hsl(138,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(138, 50%, 79%, 0.4);
css variable
--color-primary: hsl(138, 50%, 79%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(138, 50%, 79%)?
HEX: #AFE4BF | RGB: rgb(175, 228, 191) | CMYK: 23%, 0%, 16%, 11% | HSV: 138°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #AFE4BF?
The complementary color is HSL(318, 50%, 79%). For a triadic harmony, use hues 138°, 258°, and 18°. For analogous combinations, try hues 108° and 168°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(138, 50%, 79%) in CSS?
As HSL: color: hsl(138, 50%, 79%); — As HEX: color: #AFE4BF; — As RGB: color: rgb(175, 228, 191); — Tailwind CSS: bg-[hsl(138,50%,79%)] — CSS variable: --color-primary: hsl(138, 50%, 79%);