#628E2C

Closest named color: Mossy Green (#638B27). oklch(59.4% 0.136 130.5), rgb(98, 142, 44).

Aa

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

About this color

#628E2C is a medium-dark, moderately saturated green. In OKLCH its lightness is 59%, its chroma 0.136 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.008 away. Black text reads best on it, at 5.42:1.

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

Values

HEX#628E2C
RGBrgb(98, 142, 44)
HSLhsl(87, 53%, 36%)
OKLCHoklch(59.4% 0.136 130.5)

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 #628E2C 3.87:1 AA large text Lc -71.5 Content text, not long reading
Black text on #628E2C 5.42:1 AA Lc 38.1 Non-text elements, placeholder text
#628E2C text on white 3.87:1 AA large text Lc 66.0 Content text, not long reading
#628E2C text on black 5.42:1 AA Lc -35.6 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 500.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDDF

    oklch(93.6% 0.02 131.5)

  3. Step 200

    200

    #D1DFC5

    oklch(88.6% 0.038 130.4)

  4. Step 300

    300

    #B2CA9D

    oklch(80.9% 0.067 130.7)

  5. Step 400

    400

    #8AAE66

    oklch(70.7% 0.106 130.4)

  6. Step 500

    500 (this color)

    #628E2C

    oklch(59.4% 0.136 130.5)

  7. Step 600

    600

    #548308

    oklch(55.5% 0.148 130.5)

  8. Step 700

    700

    #466F00

    oklch(49.2% 0.133 130.4)

  9. Step 800

    800

    #395B03

    oklch(42.9% 0.114 130.4)

  10. Step 900

    900

    #314B11

    oklch(37.8% 0.089 130.7)

  11. Step 950

    950

    #1D2C0C

    oklch(27.1% 0.056 130.5)

Export this scale for Tailwind in the Tailwind colors tool

#628E2C 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)#94841E0.071
Deuteranopia (no green cones)#8E80340.073
Tritanopia (no blue cones)#64887A0.104
Achromatopsia (no color)#8181810.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #628E2C

    #628E2C

    oklch(59.4% 0.136 130.5)

  • #9865BA

    #9865BA

    oklch(59.5% 0.136 310.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #628E2C

    #628E2C

    oklch(59.4% 0.136 130.5)

  • #907F00

    #907F00

    oklch(59.4% 0.123 99.9)

  • #009663

    #009663

    oklch(59.4% 0.133 160.5)

Open the analogous palette in the generator

Split complementary

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

  • #628E2C

    #628E2C

    oklch(59.4% 0.136 130.5)

  • #7173CD

    #7173CD

    oklch(59.5% 0.135 280.5)

  • #B35B97

    #B35B97

    oklch(59.5% 0.136 340.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #628E2C

    #628E2C

    oklch(59.4% 0.136 130.5)

  • #3582CC

    #3582CC

    oklch(59.5% 0.136 250.5)

  • #C1576B

    #C1576B

    oklch(59.4% 0.137 10.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #628E2C

    #628E2C

    oklch(59.4% 0.136 130.5)

  • #008DAB

    #008DAB

    oklch(59.5% 0.108 219.9)

  • #9865BA

    #9865BA

    oklch(59.5% 0.136 310.5)

  • #C05E3A

    #C05E3A

    oklch(59.4% 0.136 40.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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