#4D7D17

Closest named color: Dark Grass Green (#388004). oklch(53.5% 0.138 132.3), rgb(77, 125, 23).

Aa

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

About this color

#4D7D17 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.138 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.025 away. White text reads best on it, at 4.92:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.26:1
White text4.92:1

Values

HEX#4D7D17
RGBrgb(77, 125, 23)
HSLhsl(88, 69%, 29%)
OKLCHoklch(53.5% 0.138 132.3)

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 #4D7D17 4.92:1 AA Lc -79.3 Fine for body text
Black text on #4D7D17 4.26:1 AA large text Lc 30.2 Non-text elements, placeholder text
#4D7D17 text on white 4.92:1 AA Lc 73.9 Content text, not long reading
#4D7D17 text on black 4.26:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B2CAA0

    oklch(81% 0.063 132)

  5. Step 400

    400

    #89AE6C

    oklch(70.7% 0.1 132.3)

  6. Step 500

    500

    #6B9943

    oklch(63% 0.127 132.4)

  7. Step 600

    600 (this color)

    #4D7D17

    oklch(53.5% 0.138 132.3)

  8. Step 700

    700

    #436F11

    oklch(49.1% 0.129 132.4)

  9. Step 800

    800

    #385A13

    oklch(42.6% 0.105 132)

  10. Step 900

    900

    #304A18

    oklch(37.6% 0.082 132.3)

  11. Step 950

    950

    #1C2C0F

    oklch(27.1% 0.053 132.9)

Export this scale for Tailwind in the Tailwind colors tool

#4D7D17 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)#8373000.077
Deuteranopia (no green cones)#7C6F220.077
Tritanopia (no blue cones)#4E786A0.103
Achromatopsia (no color)#7070700.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D7D17

    #4D7D17

    oklch(53.5% 0.138 132.3)

  • #8852A6

    #8852A6

    oklch(53.5% 0.138 312.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D7D17

    #4D7D17

    oklch(53.5% 0.138 132.3)

  • #7A6F00

    #7A6F00

    oklch(53.5% 0.112 102.6)

  • #008258

    #008258

    oklch(53.6% 0.118 162)

Open the analogous palette in the generator

Split complementary

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

  • #4D7D17

    #4D7D17

    oklch(53.5% 0.138 132.3)

  • #6360BA

    #6360BA

    oklch(53.6% 0.137 282.2)

  • #A14883

    #A14883

    oklch(53.5% 0.138 342.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D7D17

    #4D7D17

    oklch(53.5% 0.138 132.3)

  • #246FBA

    #246FBA

    oklch(53.5% 0.138 252.1)

  • #AE4557

    #AE4557

    oklch(53.6% 0.138 12.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D7D17

    #4D7D17

    oklch(53.5% 0.138 132.3)

  • #007996

    #007996

    oklch(53.4% 0.099 222.2)

  • #8852A6

    #8852A6

    oklch(53.5% 0.138 312.3)

  • #AD4C21

    #AD4C21

    oklch(53.5% 0.139 42.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4D7D17 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.