#1F7A1A
Closest named color: Tree Green (#2A7E19). oklch(50.8% 0.154 142.3), rgb(31, 122, 26).
Aa
White text reads best on this color (5.44:1).
About this color
#1F7A1A is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.154 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.015 away. White text reads best on it, at 5.44:1.
| Hue family | Greens |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.154) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 3.85:1 |
| White text | 5.44:1 |
Values
| HEX | #1F7A1A |
| RGB | rgb(31, 122, 26) |
| HSL | hsl(117, 65%, 29%) |
| OKLCH | oklch(50.8% 0.154 142.3) |
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 #1F7A1A | 5.44:1 | AA | Lc -82.0 | Fine for body text |
| Black text on #1F7A1A | 3.85:1 | AA large text | Lc 27.4 | Dividers and decoration only |
| #1F7A1A text on white | 5.44:1 | AA | Lc 76.7 | Fine for body text |
| #1F7A1A text on black | 3.85:1 | AA large text | Lc -25.1 | 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 700.
-
Step 50
50
#F2F7F1
oklch(97.1% 0.01 140.5)
-
Step 100
100
#E2EEE1
oklch(93.7% 0.021 143.2)
-
Step 200
200
#CAE1C8
oklch(88.6% 0.042 143)
-
Step 300
300
#A5CDA1
oklch(80.8% 0.074 142.5)
-
Step 400
400
#73B36D
oklch(70.6% 0.119 142.3)
-
Step 500
500
#4BA044
oklch(63.2% 0.153 142.2)
-
Step 600
600
#278A22
oklch(55.6% 0.166 142.4)
-
Step 700
700 (this color)
#1F7A1A
oklch(50.8% 0.154 142.3)
-
Step 800
800
#185F14
oklch(42.6% 0.128 142.3)
-
Step 900
900
#1C4E18
oklch(37.7% 0.1 142.1)
-
Step 950
950
#122E10
oklch(27.1% 0.063 142.4)
#1F7A1A 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) | #7D6E05 | 0.108 |
| Deuteranopia (no green cones) | #736725 | 0.109 |
| Tritanopia (no blue cones) | #017668 | 0.101 |
| Achromatopsia (no color) | #6A6A6A | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F7A1A
#1F7A1A
oklch(50.8% 0.154 142.3)
- #8D4198
#8D4198
oklch(50.8% 0.153 322.4)
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 #1F7A1A, closest first.
No curated palette has a color within ΔE 0.04 of #1F7A1A.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.015
- Green #008000 ΔE 0.025
- Dark Grass Green #388004 ΔE 0.029
- Jungle Green #048243 ΔE 0.040
- Forest Green #228B22 ΔE 0.052
- Emerald Green #028F1E ΔE 0.063
- Olive Green #677A04 ΔE 0.071
- Dark Green #006400 ΔE 0.072
Use #1F7A1A 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.