#4C7A0F

Closest named color: Dark Grass Green (#388004). oklch(52.6% 0.139 131.5), rgb(76, 122, 15).

Aa

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

About this color

#4C7A0F is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.139 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.026 away. White text reads best on it, at 5.12:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.09:1
White text5.12:1

Values

HEX#4C7A0F
RGBrgb(76, 122, 15)
HSLhsl(86, 78%, 27%)
OKLCHoklch(52.6% 0.139 131.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 #4C7A0F 5.12:1 AA Lc -80.5 Fine for body text
Black text on #4C7A0F 4.09:1 AA large text Lc 29.0 Dividers and decoration only
#4C7A0F text on white 5.12:1 AA Lc 75.1 Fine for body text
#4C7A0F text on black 4.09:1 AA large text Lc -26.6 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

    #8AAE6B

    oklch(70.8% 0.1 131.5)

  6. Step 500

    500

    #6D9941

    oklch(63.1% 0.128 131.4)

  7. Step 600

    600 (this color)

    #4C7A0F

    oklch(52.6% 0.139 131.5)

  8. Step 700

    700

    #456F0D

    oklch(49.2% 0.129 131.4)

  9. Step 800

    800

    #395A11

    oklch(42.7% 0.106 131.3)

  10. Step 900

    900

    #314A17

    oklch(37.6% 0.082 131.5)

  11. Step 950

    950

    #1D2C0F

    oklch(27.1% 0.053 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#4C7A0F 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)#8070000.076
Deuteranopia (no green cones)#7A6C1D0.077
Tritanopia (no blue cones)#4D74670.106
Achromatopsia (no color)#6E6E6E0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C7A0F

    #4C7A0F

    oklch(52.6% 0.139 131.5)

  • #854FA4

    #854FA4

    oklch(52.6% 0.139 311.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C7A0F

    #4C7A0F

    oklch(52.6% 0.139 131.5)

  • #786C00

    #786C00

    oklch(52.6% 0.11 101.8)

  • #007F55

    #007F55

    oklch(52.7% 0.116 161.5)

Open the analogous palette in the generator

Split complementary

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

  • #4C7A0F

    #4C7A0F

    oklch(52.6% 0.139 131.5)

  • #5F5DB8

    #5F5DB8

    oklch(52.6% 0.14 281.5)

  • #9E4582

    #9E4582

    oklch(52.7% 0.139 341.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C7A0F

    #4C7A0F

    oklch(52.6% 0.139 131.5)

  • #1D6DB7

    #1D6DB7

    oklch(52.7% 0.138 251.2)

  • #AB4256

    #AB4256

    oklch(52.7% 0.138 11.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C7A0F

    #4C7A0F

    oklch(52.6% 0.139 131.5)

  • #007792

    #007792

    oklch(52.7% 0.097 220.9)

  • #854FA4

    #854FA4

    oklch(52.6% 0.139 311.8)

  • #AA4920

    #AA4920

    oklch(52.6% 0.138 41.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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