#626A40

Closest named color: Dark Moss Green (#606C38). oklch(50.6% 0.062 117.5), rgb(98, 106, 64).

Aa

White text reads best on this color (5.74:1).

About this color

#626A40 is a medium-dark, muted yellow. In OKLCH its lightness is 51%, its chroma 0.062 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.014 away. White text reads best on it, at 5.74:1.

Hue familyYellows
Lightnessmedium-dark (51%)
Chromamuted (0.062)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text3.65:1
White text5.74:1

Values

HEX#626A40
RGBrgb(98, 106, 64)
HSLhsl(71, 25%, 33%)
OKLCHoklch(50.6% 0.062 117.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 #626A40 5.74:1 AA Lc -84.0 Fine for body text
Black text on #626A40 3.65:1 AA large text Lc 25.3 Dividers and decoration only
#626A40 text on white 5.74:1 AA Lc 78.7 Fine for body text
#626A40 text on black 3.65:1 AA large text Lc -23.1 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D8DBCE

    oklch(88.6% 0.018 117.3)

  4. Step 300

    300

    #BFC4AE

    oklch(81% 0.031 117.5)

  5. Step 400

    400

    #9EA583

    oklch(70.7% 0.048 117.1)

  6. Step 500

    500

    #868F64

    oklch(63.1% 0.062 117.8)

  7. Step 600

    600

    #70794B

    oklch(55.7% 0.067 117.7)

  8. Step 700

    700 (this color)

    #626A40

    oklch(50.6% 0.062 117.5)

  9. Step 800

    800

    #4D5332

    oklch(42.8% 0.051 117)

  10. Step 900

    900

    #40452C

    oklch(37.8% 0.041 117.6)

  11. Step 950

    950

    #25281A

    oklch(26.9% 0.025 117.9)

Export this scale for Tailwind in the Tailwind colors tool

#626A40 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)#6F663D0.022
Deuteranopia (no green cones)#6E66420.022
Tritanopia (no blue cones)#6666600.053
Achromatopsia (no color)#6666660.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #626A40

    #626A40

    oklch(50.6% 0.062 117.5)

  • #695D85

    #695D85

    oklch(50.6% 0.064 297.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #626A40

    #626A40

    oklch(50.6% 0.062 117.5)

  • #74633A

    #74633A

    oklch(50.6% 0.062 87.7)

  • #4C6F50

    #4C6F50

    oklch(50.6% 0.063 147.5)

Open the analogous palette in the generator

Split complementary

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

  • #626A40

    #626A40

    oklch(50.6% 0.062 117.5)

  • #556489

    #556489

    oklch(50.6% 0.062 267.2)

  • #795878

    #795878

    oklch(50.6% 0.064 327.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #626A40

    #626A40

    oklch(50.6% 0.062 117.5)

  • #416A85

    #416A85

    oklch(50.5% 0.063 238.6)

  • #825665

    #825665

    oklch(50.6% 0.062 357.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #626A40

    #626A40

    oklch(50.6% 0.062 117.5)

  • #346F77

    #346F77

    oklch(50.6% 0.062 207.1)

  • #695D85

    #695D85

    oklch(50.6% 0.064 297.8)

  • #855751

    #855751

    oklch(50.6% 0.062 27.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #626A40 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.