#628C2F

Closest named color: Mossy Green (#638B27). oklch(58.9% 0.131 130.3), rgb(98, 140, 47).

Aa

Black text reads best on this color (5.31:1).

About this color

#628C2F is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.131 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.006 away. Black text reads best on it, at 5.31:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.31:1
White text3.95:1

Values

HEX#628C2F
RGBrgb(98, 140, 47)
HSLhsl(87, 50%, 37%)
OKLCHoklch(58.9% 0.131 130.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #628C2F 3.95:1 AA large text Lc -72.3 Content text, not long reading
Black text on #628C2F 5.31:1 AA Lc 37.3 Non-text elements, placeholder text
#628C2F text on white 3.95:1 AA large text Lc 66.8 Content text, not long reading
#628C2F text on black 5.31:1 AA Lc -34.9 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.

  1. Step 50

    50

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D2DEC8

    oklch(88.5% 0.032 130.6)

  4. Step 300

    300

    #B4C9A1

    oklch(80.9% 0.059 130.2)

  5. Step 400

    400

    #8DAD6D

    oklch(70.8% 0.095 130.1)

  6. Step 500

    500

    #709845

    oklch(63.1% 0.121 130.5)

  7. Step 600

    600 (this color)

    #628C2F

    oklch(58.9% 0.131 130.3)

  8. Step 700

    700

    #486E15

    oklch(49.2% 0.122 130.6)

  9. Step 800

    800

    #3C5915

    oklch(42.6% 0.1 130)

  10. Step 900

    900

    #334A19

    oklch(37.8% 0.079 130.5)

  11. Step 950

    950

    #1E2B10

    oklch(26.9% 0.049 130.3)

Export this scale for Tailwind in the Tailwind colors tool

#628C2F 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9282230.069
Deuteranopia (no green cones)#8C7F360.070
Tritanopia (no blue cones)#6486790.101
Achromatopsia (no color)#8080800.131

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #628C2F

    #628C2F

    oklch(58.9% 0.131 130.3)

  • #9565B6

    #9565B6

    oklch(59% 0.13 310.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #628C2F

    #628C2F

    oklch(58.9% 0.131 130.3)

  • #8E7E00

    #8E7E00

    oklch(59% 0.123 100.4)

  • #089462

    #089462

    oklch(58.9% 0.131 160.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #628C2F

    #628C2F

    oklch(58.9% 0.131 130.3)

  • #6F72C9

    #6F72C9

    oklch(58.9% 0.131 280.1)

  • #AF5B95

    #AF5B95

    oklch(58.9% 0.131 340.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #628C2F

    #628C2F

    oklch(58.9% 0.131 130.3)

  • #3781C7

    #3781C7

    oklch(59% 0.13 249.9)

  • #BD586B

    #BD586B

    oklch(59% 0.131 10.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #628C2F

    #628C2F

    oklch(58.9% 0.131 130.3)

  • #008BA9

    #008BA9

    oklch(58.9% 0.107 220.2)

  • #9565B6

    #9565B6

    oklch(59% 0.13 310.3)

  • #BC5E3C

    #BC5E3C

    oklch(58.8% 0.13 40.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #628C2F, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #628C2F 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.