#646D27

Closest named color: Dark Moss Green (#606C38). oklch(51.2% 0.094 116), rgb(100, 109, 39).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameDark Moss Green (#606C38)
Black text3.75:1
White text5.58:1

Values

HEX#646D27
RGBrgb(100, 109, 39)
HSLhsl(68, 47%, 29%)
OKLCHoklch(51.2% 0.094 116)

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 #646D27 5.58:1 AA Lc -83.1 Fine for body text
Black text on #646D27 3.75:1 AA large text Lc 26.2 Dividers and decoration only
#646D27 text on white 5.58:1 AA Lc 77.9 Fine for body text
#646D27 text on black 3.75:1 AA large text Lc -23.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DBC9

    oklch(88.4% 0.024 114.6)

  4. Step 300

    300

    #BFC5A4

    oklch(81% 0.045 115.8)

  5. Step 400

    400

    #9EA772

    oklch(70.8% 0.073 116.2)

  6. Step 500

    500

    #86914C

    oklch(63.2% 0.094 116.6)

  7. Step 600

    600

    #707A2E

    oklch(55.5% 0.101 116.1)

  8. Step 700

    700 (this color)

    #646D27

    oklch(51.2% 0.094 116)

  9. Step 800

    800

    #4D541D

    oklch(42.7% 0.078 115.9)

  10. Step 900

    900

    #40461E

    oklch(37.8% 0.061 116.4)

  11. Step 950

    950

    #252912

    oklch(27% 0.039 117.2)

Export this scale for Tailwind in the Tailwind colors tool

#646D27 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)#74671F0.028
Deuteranopia (no green cones)#74682C0.030
Tritanopia (no blue cones)#6A675E0.081
Achromatopsia (no color)#6868680.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #646D27

    #646D27

    oklch(51.2% 0.094 116)

  • #6C5B96

    #6C5B96

    oklch(51.3% 0.093 296.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #646D27

    #646D27

    oklch(51.2% 0.094 116)

  • #7F621A

    #7F621A

    oklch(51.2% 0.094 85.5)

  • #407545

    #407545

    oklch(51.2% 0.094 146.1)

Open the analogous palette in the generator

Split complementary

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

  • #646D27

    #646D27

    oklch(51.2% 0.094 116)

  • #4D649D

    #4D649D

    oklch(51.1% 0.095 266.4)

  • #825383

    #825383

    oklch(51.2% 0.093 326.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #646D27

    #646D27

    oklch(51.2% 0.094 116)

  • #246E95

    #246E95

    oklch(51.1% 0.094 236.2)

  • #914E68

    #914E68

    oklch(51.2% 0.095 356.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #646D27

    #646D27

    oklch(51.2% 0.094 116)

  • #00747F

    #00747F

    oklch(51.1% 0.087 206.3)

  • #6C5B96

    #6C5B96

    oklch(51.3% 0.093 296.2)

  • #95504A

    #95504A

    oklch(51.2% 0.093 26)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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