#0D7F28
Closest named color: Tree Green (#2A7E19). oklch(52.1% 0.155 145.7), rgb(13, 127, 40).
Aa
White text reads best on this color (5.14:1).
About this color
#0D7F28 is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.155 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.014 away. White text reads best on it, at 5.14:1.
| Hue family | Greens |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Tree Green (#2A7E19) |
| Black text | 4.08:1 |
| White text | 5.14:1 |
Values
| HEX | #0D7F28 |
| RGB | rgb(13, 127, 40) |
| HSL | hsl(134, 81%, 27%) |
| OKLCH | oklch(52.1% 0.155 145.7) |
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 #0D7F28 | 5.14:1 | AA | Lc -80.2 | Fine for body text |
| Black text on #0D7F28 | 4.08:1 | AA large text | Lc 29.2 | Dividers and decoration only |
| #0D7F28 text on white | 5.14:1 | AA | Lc 74.9 | Content text, not long reading |
| #0D7F28 text on black | 4.08:1 | AA large text | Lc -26.9 | 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
#F1F7F1
oklch(97% 0.01 145.5)
-
Step 100
100
#E1EEE1
oklch(93.6% 0.022 145.4)
-
Step 200
200
#C8E1C9
oklch(88.5% 0.042 146.3)
-
Step 300
300
#A2CEA4
oklch(80.9% 0.075 146)
-
Step 400
400
#6DB472
oklch(70.6% 0.119 145.8)
-
Step 500
500
#3FA14B
oklch(63.1% 0.154 145.7)
-
Step 600
600
#0D8B2C
oklch(55.5% 0.167 145.7)
-
Step 700
700 (this color)
#0D7F28
oklch(52.1% 0.155 145.7)
-
Step 800
800
#05601B
oklch(42.6% 0.129 145.7)
-
Step 900
900
#144F1D
oklch(37.8% 0.1 145.7)
-
Step 950
950
#0E2E12
oklch(26.9% 0.063 145.9)
#0D7F28 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) | #81721D | 0.117 |
| Deuteranopia (no green cones) | #756A30 | 0.117 |
| Tritanopia (no blue cones) | #007C6D | 0.095 |
| Achromatopsia (no color) | #6D6D6D | 0.156 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0D7F28
#0D7F28
oklch(52.1% 0.155 145.7)
- #944298
#944298
oklch(51.9% 0.156 325.7)
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 #0D7F28, closest first.
No curated palette has a color within ΔE 0.04 of #0D7F28.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tree Green #2A7E19 ΔE 0.014
- Green #008000 ΔE 0.023
- Dark Grass Green #388004 ΔE 0.027
- Jungle Green #048243 ΔE 0.028
- Forest Green #228B22 ΔE 0.040
- Emerald Green #028F1E ΔE 0.051
- Kelley Green #009337 ΔE 0.060
- Sea Green #2E8B57 ΔE 0.064
Use #0D7F28 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.