#646A17

Closest named color: Mud Green (#606602). oklch(50.3% 0.103 113.7), rgb(100, 106, 23).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameMud Green (#606602)
Black text3.61:1
White text5.80:1

Values

HEX#646A17
RGBrgb(100, 106, 23)
HSLhsl(64, 64%, 25%)
OKLCHoklch(50.3% 0.103 113.7)

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 #646A17 5.80:1 AA Lc -84.2 Fine for body text
Black text on #646A17 3.61:1 AA large text Lc 25.1 Dividers and decoration only
#646A17 text on white 5.80:1 AA Lc 79.0 Fine for body text
#646A17 text on black 3.61:1 AA large text Lc -22.8 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

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DBC7

    oklch(88.4% 0.027 113.9)

  4. Step 300

    300

    #C0C5A0

    oklch(81% 0.05 113.8)

  5. Step 400

    400

    #A0A66C

    oklch(70.6% 0.079 113.2)

  6. Step 500

    500

    #899043

    oklch(63.1% 0.101 113.6)

  7. Step 600

    600

    #737A21

    oklch(55.6% 0.11 113.9)

  8. Step 700

    700 (this color)

    #646A17

    oklch(50.3% 0.103 113.7)

  9. Step 800

    800

    #4F5413

    oklch(42.8% 0.085 113.8)

  10. Step 900

    900

    #414518

    oklch(37.6% 0.066 113.8)

  11. Step 950

    950

    #26290F

    oklch(27.1% 0.043 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#646A17 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)#7264050.025
Deuteranopia (no green cones)#72661E0.027
Tritanopia (no blue cones)#6B635A0.091
Achromatopsia (no color)#6565650.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #646A17

    #646A17

    oklch(50.3% 0.103 113.7)

  • #675799

    #675799

    oklch(50.2% 0.104 293.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #646A17

    #646A17

    oklch(50.3% 0.103 113.7)

  • #805E02

    #805E02

    oklch(50.4% 0.103 83.7)

  • #3C733C

    #3C733C

    oklch(50.3% 0.103 143.9)

Open the analogous palette in the generator

Split complementary

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

  • #646A17

    #646A17

    oklch(50.3% 0.103 113.7)

  • #45629F

    #45629F

    oklch(50.3% 0.104 263.8)

  • #804E85

    #804E85

    oklch(50.2% 0.103 323.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #646A17

    #646A17

    oklch(50.3% 0.103 113.7)

  • #086D95

    #086D95

    oklch(50.4% 0.102 233.3)

  • #904968

    #904968

    oklch(50.2% 0.103 353.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #646A17

    #646A17

    oklch(50.3% 0.103 113.7)

  • #00727A

    #00727A

    oklch(50.3% 0.086 203.3)

  • #675799

    #675799

    oklch(50.2% 0.104 293.5)

  • #964A47

    #964A47

    oklch(50.3% 0.103 23.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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