#627F2F

Closest named color: Swamp (#698339). oklch(55.6% 0.113 126.6), rgb(98, 127, 47).

Aa

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

About this color

#627F2F is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.113 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.018 away. Black text reads best on it, at 4.59:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.59:1
White text4.56:1

Values

HEX#627F2F
RGBrgb(98, 127, 47)
HSLhsl(82, 46%, 34%)
OKLCHoklch(55.6% 0.113 126.6)

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 #627F2F 4.56:1 AA Lc -77.1 Fine for body text
Black text on #627F2F 4.59:1 AA Lc 32.4 Non-text elements, placeholder text
#627F2F text on white 4.56:1 AA Lc 71.6 Content text, not long reading
#627F2F text on black 4.59:1 AA Lc -30.0 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE1

    oklch(93.6% 0.016 126.8)

  3. Step 200

    200

    #D4DDC9

    oklch(88.5% 0.029 126.8)

  4. Step 300

    300

    #B8C7A4

    oklch(80.9% 0.051 126.4)

  5. Step 400

    400

    #93AA73

    oklch(70.6% 0.08 126.8)

  6. Step 500

    500

    #79954D

    oklch(63.1% 0.104 126.6)

  7. Step 600

    600 (this color)

    #627F2F

    oklch(55.6% 0.113 126.6)

  8. Step 700

    700

    #516B21

    oklch(49.1% 0.105 126.6)

  9. Step 800

    800

    #42571E

    oklch(42.6% 0.086 126.8)

  10. Step 900

    900

    #38481E

    oklch(37.7% 0.068 126.7)

  11. Step 950

    950

    #212A12

    oklch(26.9% 0.043 126)

Export this scale for Tailwind in the Tailwind colors tool

#627F2F 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)#8577260.053
Deuteranopia (no green cones)#8175350.054
Tritanopia (no blue cones)#66796E0.091
Achromatopsia (no color)#7676760.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #627F2F

    #627F2F

    oklch(55.6% 0.113 126.6)

  • #8460A7

    #8460A7

    oklch(55.5% 0.113 306.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #627F2F

    #627F2F

    oklch(55.6% 0.113 126.6)

  • #877307

    #877307

    oklch(55.8% 0.113 96.7)

  • #2C8758

    #2C8758

    oklch(55.7% 0.113 156.8)

Open the analogous palette in the generator

Split complementary

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

  • #627F2F

    #627F2F

    oklch(55.6% 0.113 126.6)

  • #636CB4

    #636CB4

    oklch(55.6% 0.112 276.7)

  • #9C588C

    #9C588C

    oklch(55.7% 0.112 336.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #627F2F

    #627F2F

    oklch(55.6% 0.113 126.6)

  • #3378B1

    #3378B1

    oklch(55.5% 0.113 246.7)

  • #A95568

    #A95568

    oklch(55.6% 0.112 7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #627F2F

    #627F2F

    oklch(55.6% 0.113 126.6)

  • #008199

    #008199

    oklch(55.6% 0.099 216.9)

  • #8460A7

    #8460A7

    oklch(55.5% 0.113 306.4)

  • #AB5942

    #AB5942

    oklch(55.7% 0.113 36.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #627F2F 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.