#627F2E

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

Aa

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

About this color

#627F2E 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.57:1

Values

HEX#627F2E
RGBrgb(98, 127, 46)
HSLhsl(81, 47%, 34%)
OKLCHoklch(55.6% 0.113 126.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 #627F2E 4.57:1 AA Lc -77.1 Fine for body text
Black text on #627F2E 4.59:1 AA Lc 32.4 Non-text elements, placeholder text
#627F2E text on white 4.57:1 AA Lc 71.6 Content text, not long reading
#627F2E 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

    #93AA72

    oklch(70.6% 0.082 126.5)

  6. Step 500

    500

    #79954C

    oklch(63.1% 0.105 126.5)

  7. Step 600

    600 (this color)

    #627F2E

    oklch(55.6% 0.113 126.5)

  8. Step 700

    700

    #516B20

    oklch(49.1% 0.106 126.5)

  9. Step 800

    800

    #42571D

    oklch(42.6% 0.087 126.7)

  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

#627F2E 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)#8577240.053
Deuteranopia (no green cones)#8175340.054
Tritanopia (no blue cones)#66796E0.091
Achromatopsia (no color)#7676760.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #627F2E

    #627F2E

    oklch(55.6% 0.113 126.5)

  • #8460A7

    #8460A7

    oklch(55.5% 0.113 306.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #627F2E

    #627F2E

    oklch(55.6% 0.113 126.5)

  • #877204

    #877204

    oklch(55.6% 0.113 96.1)

  • #2B8757

    #2B8757

    oklch(55.7% 0.114 156.4)

Open the analogous palette in the generator

Split complementary

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

  • #627F2E

    #627F2E

    oklch(55.6% 0.113 126.5)

  • #626CB5

    #626CB5

    oklch(55.6% 0.113 276.2)

  • #9C588C

    #9C588C

    oklch(55.7% 0.112 336.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #627F2E

    #627F2E

    oklch(55.6% 0.113 126.5)

  • #3278B2

    #3278B2

    oklch(55.6% 0.114 246.9)

  • #AA5468

    #AA5468

    oklch(55.6% 0.114 6.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #627F2E

    #627F2E

    oklch(55.6% 0.113 126.5)

  • #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 #627F2E, closest first.

Similar named colors

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

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