#628A24

Closest named color: Mossy Green (#638B27). oklch(58.3% 0.136 128.8), rgb(98, 138, 36).

Aa

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

About this color

#628A24 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.136 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.18:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.18:1
White text4.05:1

Values

HEX#628A24
RGBrgb(98, 138, 36)
HSLhsl(84, 59%, 34%)
OKLCHoklch(58.3% 0.136 128.8)

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 #628A24 4.05:1 AA large text Lc -73.1 Content text, not long reading
Black text on #628A24 5.18:1 AA Lc 36.5 Non-text elements, placeholder text
#628A24 text on white 4.05:1 AA large text Lc 67.6 Content text, not long reading
#628A24 text on black 5.18:1 AA Lc -34.1 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

    #B5C99F

    oklch(81% 0.061 128.4)

  5. Step 400

    400

    #8EAD6A

    oklch(70.8% 0.098 128.9)

  6. Step 500

    500

    #72983F

    oklch(63.2% 0.126 128.8)

  7. Step 600

    600 (this color)

    #628A24

    oklch(58.3% 0.136 128.8)

  8. Step 700

    700

    #4A6E07

    oklch(49.2% 0.127 128.9)

  9. Step 800

    800

    #3D590D

    oklch(42.6% 0.105 128.6)

  10. Step 900

    900

    #344A15

    oklch(37.8% 0.082 129)

  11. Step 950

    950

    #1F2B0E

    oklch(27% 0.051 128.1)

Export this scale for Tailwind in the Tailwind colors tool

#628A24 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)#9180120.068
Deuteranopia (no green cones)#8B7D2D0.069
Tritanopia (no blue cones)#6584760.106
Achromatopsia (no color)#7E7E7E0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #628A24

    #628A24

    oklch(58.3% 0.136 128.8)

  • #9362B8

    #9362B8

    oklch(58.4% 0.136 309)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #628A24

    #628A24

    oklch(58.3% 0.136 128.8)

  • #8E7B00

    #8E7B00

    oklch(58.3% 0.121 98.4)

  • #00935D

    #00935D

    oklch(58.5% 0.135 158.8)

Open the analogous palette in the generator

Split complementary

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

  • #628A24

    #628A24

    oklch(58.3% 0.136 128.8)

  • #6B70CA

    #6B70CA

    oklch(58.3% 0.136 278.9)

  • #AE5896

    #AE5896

    oklch(58.4% 0.136 338.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #628A24

    #628A24

    oklch(58.3% 0.136 128.8)

  • #2C7FC8

    #2C7FC8

    oklch(58.3% 0.137 249.2)

  • #BD546B

    #BD546B

    oklch(58.4% 0.137 8.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #628A24

    #628A24

    oklch(58.3% 0.136 128.8)

  • #0089A5

    #0089A5

    oklch(58.2% 0.105 219)

  • #9362B8

    #9362B8

    oklch(58.4% 0.136 309)

  • #BD5A39

    #BD5A39

    oklch(58.3% 0.136 38.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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