#2C7F2D
Closest named color: Tree Green (#2A7E19). oklch(52.8% 0.143 143.4), rgb(44, 127, 45).
Aa
White text reads best on this color (5.02:1).
About this color
#2C7F2D is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.143 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.016 away. White text reads best on it, at 5.02:1.
| Hue family | Greens |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.18:1 |
| White text | 5.02:1 |
Values
| HEX | #2C7F2D |
| RGB | rgb(44, 127, 45) |
| HSL | hsl(121, 49%, 34%) |
| OKLCH | oklch(52.8% 0.143 143.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #2C7F2D | 5.02:1 | AA | Lc -79.8 | Fine for body text |
| Black text on #2C7F2D | 4.18:1 | AA large text | Lc 29.7 | Dividers and decoration only |
| #2C7F2D text on white | 5.02:1 | AA | Lc 74.4 | Content text, not long reading |
| #2C7F2D text on black | 4.18:1 | AA large text | Lc -27.3 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E3EDE2
oklch(93.6% 0.018 142.8)
-
Step 200
200
#CCE0CA
oklch(88.6% 0.037 142.7)
-
Step 300
300
#A9CCA6
oklch(80.9% 0.065 142.9)
-
Step 400
400
#79B177
oklch(70.6% 0.102 143.6)
-
Step 500
500
#549D52
oklch(63% 0.131 143.3)
-
Step 600
600 (this color)
#2C7F2D
oklch(52.8% 0.143 143.4)
-
Step 700
700
#277328
oklch(49.1% 0.133 143.4)
-
Step 800
800
#225E23
oklch(42.8% 0.11 143.6)
-
Step 900
900
#224D21
oklch(37.8% 0.086 143.2)
-
Step 950
950
#152D14
oklch(27% 0.054 143.1)
#2C7F2D with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #827324 | 0.104 |
| Deuteranopia (no green cones) | #776C34 | 0.103 |
| Tritanopia (no blue cones) | #1B7B6E | 0.091 |
| Achromatopsia (no color) | #6F6F6F | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C7F2D
#2C7F2D
oklch(52.8% 0.143 143.4)
- #914A9A
#914A9A
oklch(52.7% 0.143 323)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2C7F2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.016
- Jungle Green #048243 ΔE 0.024
- Dark Grass Green #388004 ΔE 0.024
- Green #008000 ΔE 0.035
- Forest Green #228B22 ΔE 0.040
- Emerald Green #028F1E ΔE 0.054
- Sea Green #2E8B57 ΔE 0.054
- Kelley Green #009337 ΔE 0.058
Use #2C7F2D in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.