#646A28

Closest named color: Dark Moss Green (#606C38). oklch(50.5% 0.089 114), rgb(100, 106, 40).

Aa

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

About this color

#646A28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 50%, its chroma 0.089 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Moss Green (#606C38), ΔE 0.016 away. White text reads best on it, at 5.77:1.

Hue familyYellows
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text3.63:1
White text5.77:1

Values

HEX#646A28
RGBrgb(100, 106, 40)
HSLhsl(65, 45%, 29%)
OKLCHoklch(50.5% 0.089 114)

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 #646A28 5.77:1 AA Lc -84.1 Fine for body text
Black text on #646A28 3.63:1 AA large text Lc 25.2 Dividers and decoration only
#646A28 text on white 5.77:1 AA Lc 78.8 Fine for body text
#646A28 text on black 3.63:1 AA large text Lc -22.9 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE2

    oklch(93.6% 0.012 116.8)

  3. Step 200

    200

    #D8DBC9

    oklch(88.4% 0.024 114.6)

  4. Step 300

    300

    #C0C4A5

    oklch(80.9% 0.042 113.3)

  5. Step 400

    400

    #A0A674

    oklch(70.8% 0.069 113.7)

  6. Step 500

    500

    #89904F

    oklch(63.2% 0.088 114)

  7. Step 600

    600

    #737931

    oklch(55.5% 0.096 113.5)

  8. Step 700

    700 (this color)

    #646A28

    oklch(50.5% 0.089 114)

  9. Step 800

    800

    #4F531F

    oklch(42.7% 0.074 113.2)

  10. Step 900

    900

    #41451F

    oklch(37.7% 0.058 114.2)

  11. Step 950

    950

    #262813

    oklch(26.9% 0.036 113.3)

Export this scale for Tailwind in the Tailwind colors tool

#646A28 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)#7265210.024
Deuteranopia (no green cones)#71662C0.025
Tritanopia (no blue cones)#6A645C0.078
Achromatopsia (no color)#6666660.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #646A28

    #646A28

    oklch(50.5% 0.089 114)

  • #675A92

    #675A92

    oklch(50.4% 0.088 293.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #646A28

    #646A28

    oklch(50.5% 0.089 114)

  • #7D601E

    #7D601E

    oklch(50.6% 0.09 84.1)

  • #437243

    #437243

    oklch(50.5% 0.089 144.1)

Open the analogous palette in the generator

Split complementary

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

  • #646A28

    #646A28

    oklch(50.5% 0.089 114)

  • #4A6398

    #4A6398

    oklch(50.4% 0.09 264.2)

  • #7E5281

    #7E5281

    oklch(50.5% 0.089 324.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #646A28

    #646A28

    oklch(50.5% 0.089 114)

  • #246C90

    #246C90

    oklch(50.4% 0.09 234.6)

  • #8C4E68

    #8C4E68

    oklch(50.5% 0.089 354.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #646A28

    #646A28

    oklch(50.5% 0.089 114)

  • #00727B

    #00727B

    oklch(50.3% 0.086 204.4)

  • #675A92

    #675A92

    oklch(50.4% 0.088 293.7)

  • #914F4B

    #914F4B

    oklch(50.5% 0.089 24.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #646A28 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.