#4F7802

Closest named color: Dark Grass Green (#388004). oklch(52.2% 0.139 129.5), rgb(79, 120, 2).

Aa

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

About this color

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

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

Values

HEX#4F7802
RGBrgb(79, 120, 2)
HSLhsl(81, 97%, 24%)
OKLCHoklch(52.2% 0.139 129.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 #4F7802 5.22:1 AA Lc -81.0 Fine for body text
Black text on #4F7802 4.01:1 AA large text Lc 28.4 Dividers and decoration only
#4F7802 text on white 5.22:1 AA Lc 75.7 Fine for body text
#4F7802 text on black 4.01:1 AA large text Lc -26.1 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

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E6EDDF

    oklch(93.7% 0.02 128.7)

  3. Step 200

    200

    #D1DEC5

    oklch(88.4% 0.036 129.7)

  4. Step 300

    300

    #B3CA9C

    oklch(81% 0.067 129.4)

  5. Step 400

    400

    #8BAE64

    oklch(70.7% 0.108 129.5)

  6. Step 500

    500

    #6E9936

    oklch(63.1% 0.137 129.6)

  7. Step 600

    600

    #568300

    oklch(55.6% 0.149 129.6)

  8. Step 700

    700 (this color)

    #4F7802

    oklch(52.2% 0.139 129.5)

  9. Step 800

    800

    #3A5A00

    oklch(42.6% 0.114 129.5)

  10. Step 900

    900

    #324A0E

    oklch(37.6% 0.089 129.2)

  11. Step 950

    950

    #1D2C0B

    oklch(27.1% 0.057 130.1)

Export this scale for Tailwind in the Tailwind colors tool

#4F7802 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)#7E6E000.072
Deuteranopia (no green cones)#796B150.072
Tritanopia (no blue cones)#5272650.109
Achromatopsia (no color)#6C6C6C0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F7802

    #4F7802

    oklch(52.2% 0.139 129.5)

  • #814FA5

    #814FA5

    oklch(52.2% 0.139 309.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F7802

    #4F7802

    oklch(52.2% 0.139 129.5)

  • #796A00

    #796A00

    oklch(52.2% 0.108 99.5)

  • #007E50

    #007E50

    oklch(52.3% 0.12 159.2)

Open the analogous palette in the generator

Split complementary

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

  • #4F7802

    #4F7802

    oklch(52.2% 0.139 129.5)

  • #5B5DB7

    #5B5DB7

    oklch(52.2% 0.139 279.5)

  • #9B4483

    #9B4483

    oklch(52.1% 0.139 339.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F7802

    #4F7802

    oklch(52.2% 0.139 129.5)

  • #116CB5

    #116CB5

    oklch(52.1% 0.139 249.6)

  • #A94058

    #A94058

    oklch(52.2% 0.139 9.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F7802

    #4F7802

    oklch(52.2% 0.139 129.5)

  • #00768F

    #00768F

    oklch(52.3% 0.095 219.4)

  • #814FA5

    #814FA5

    oklch(52.2% 0.139 309.2)

  • #A94723

    #A94723

    oklch(52.2% 0.138 39.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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