#628C25
Closest named color: Mossy Green (#638B27). oklch(58.9% 0.138 129.4), rgb(98, 140, 37).
Aa
Black text reads best on this color (5.29:1).
About this color
#628C25 is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.138 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.004 away. Black text reads best on it, at 5.29:1.
| Hue family | Greens |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.138) |
| Temperature | in between |
| Nearest name | Mossy Green (#638B27) |
| Black text | 5.29:1 |
| White text | 3.96:1 |
Values
| HEX | #628C25 |
| RGB | rgb(98, 140, 37) |
| HSL | hsl(84, 58%, 35%) |
| OKLCH | oklch(58.9% 0.138 129.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 #628C25 | 3.96:1 | AA large text | Lc -72.3 | Content text, not long reading |
| Black text on #628C25 | 5.29:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #628C25 text on white | 3.96:1 | AA large text | Lc 66.8 | Content text, not long reading |
| #628C25 text on black | 5.29:1 | AA | Lc -34.8 | Non-text elements, placeholder text |
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
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D2DEC6
oklch(88.5% 0.035 128.9)
-
Step 300
300
#B4C99F
oklch(80.9% 0.062 129.3)
-
Step 400
400
#8DAD69
oklch(70.7% 0.1 129.2)
-
Step 500
500
#71983E
oklch(63.1% 0.127 129.1)
-
Step 600
600 (this color)
#628C25
oklch(58.9% 0.138 129.4)
-
Step 700
700
#496E05
oklch(49.2% 0.129 129.2)
-
Step 800
800
#3C5A0C
oklch(42.8% 0.107 129.4)
-
Step 900
900
#334A15
oklch(37.7% 0.083 129.7)
-
Step 950
950
#1E2B0E
oklch(26.9% 0.052 129.4)
#628C25 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) | #938213 | 0.070 |
| Deuteranopia (no green cones) | #8D7F2E | 0.071 |
| Tritanopia (no blue cones) | #658678 | 0.107 |
| Achromatopsia (no color) | #808080 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #628C25
#628C25
oklch(58.9% 0.138 129.4)
- #9563BA
#9563BA
oklch(58.9% 0.138 309.3)
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 #628C25, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mossy Green #638B27 ΔE 0.004
- Sap Green #5C8B15 ΔE 0.013
- Olive Drab #6B8E23 ΔE 0.013
- Moss Green #658B38 ΔE 0.018
- Dark Yellow Green #728F02 ΔE 0.025
- Swamp Green #748500 ΔE 0.027
- Fern Green #548D44 ΔE 0.028
- Khaki Green #728639 ΔE 0.036
Use #628C25 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.