#628C1F

Closest named color: Mossy Green (#638B27). oklch(58.8% 0.142 128.9), rgb(98, 140, 31).

Aa

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

About this color

#628C1F is a medium-dark, vivid green. In OKLCH its lightness is 59%, its chroma 0.142 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.007 away. Black text reads best on it, at 5.29:1.

Hue familyGreens
Lightnessmedium-dark (59%)
Chromavivid (0.142)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.29:1
White text3.96:1

Values

HEX#628C1F
RGBrgb(98, 140, 31)
HSLhsl(83, 64%, 34%)
OKLCHoklch(58.8% 0.142 128.9)

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 #628C1F 3.96:1 AA large text Lc -72.4 Content text, not long reading
Black text on #628C1F 5.29:1 AA Lc 37.2 Non-text elements, placeholder text
#628C1F text on white 3.96:1 AA large text Lc 66.9 Content text, not long reading
#628C1F 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.

  1. Step 50

    50

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC6

    oklch(88.5% 0.035 128.9)

  4. Step 300

    300

    #B4C99E

    oklch(80.9% 0.063 128.9)

  5. Step 400

    400

    #8DAD67

    oklch(70.7% 0.102 128.8)

  6. Step 500

    500

    #71983B

    oklch(63.1% 0.13 128.8)

  7. Step 600

    600 (this color)

    #628C1F

    oklch(58.8% 0.142 128.9)

  8. Step 700

    700

    #496E00

    oklch(49.1% 0.13 129)

  9. Step 800

    800

    #3C5A07

    oklch(42.8% 0.109 129)

  10. Step 900

    900

    #334A12

    oklch(37.7% 0.086 129.1)

  11. Step 950

    950

    #1E2B0C

    oklch(26.9% 0.054 128.6)

Export this scale for Tailwind in the Tailwind colors tool

#628C1F 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)#9382040.070
Deuteranopia (no green cones)#8D7F2A0.072
Tritanopia (no blue cones)#6586770.110
Achromatopsia (no color)#8080800.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #628C1F

    #628C1F

    oklch(58.8% 0.142 128.9)

  • #9562BC

    #9562BC

    oklch(58.8% 0.142 308.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #628C1F

    #628C1F

    oklch(58.8% 0.142 128.9)

  • #8F7D00

    #8F7D00

    oklch(58.8% 0.122 99.1)

  • #00945E

    #00945E

    oklch(58.8% 0.135 158.9)

Open the analogous palette in the generator

Split complementary

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

  • #628C1F

    #628C1F

    oklch(58.8% 0.142 128.9)

  • #6C71CF

    #6C71CF

    oklch(58.9% 0.142 278.8)

  • #B15798

    #B15798

    oklch(58.7% 0.141 339)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #628C1F

    #628C1F

    oklch(58.8% 0.142 128.9)

  • #2881CC

    #2881CC

    oklch(58.9% 0.141 248.7)

  • #C1536B

    #C1536B

    oklch(58.9% 0.142 9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #628C1F

    #628C1F

    oklch(58.8% 0.142 128.9)

  • #008BA7

    #008BA7

    oklch(58.8% 0.106 218.7)

  • #9562BC

    #9562BC

    oklch(58.8% 0.142 308.8)

  • #C15A37

    #C15A37

    oklch(58.9% 0.141 39)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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