#4D790C

Closest named color: Dark Grass Green (#388004). oklch(52.4% 0.138 130.8), rgb(77, 121, 12).

Aa

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

About this color

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

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

Values

HEX#4D790C
RGBrgb(77, 121, 12)
HSLhsl(84, 82%, 26%)
OKLCHoklch(52.4% 0.138 130.8)

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 #4D790C 5.17:1 AA Lc -80.8 Fine for body text
Black text on #4D790C 4.05:1 AA large text Lc 28.7 Dividers and decoration only
#4D790C text on white 5.17:1 AA Lc 75.4 Fine for body text
#4D790C text on black 4.05:1 AA large text Lc -26.3 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

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B3C9A0

    oklch(80.8% 0.061 130.7)

  5. Step 400

    400

    #8BAD6B

    oklch(70.6% 0.098 130.7)

  6. Step 500

    500

    #6E9941

    oklch(63.2% 0.127 131)

  7. Step 600

    600 (this color)

    #4D790C

    oklch(52.4% 0.138 130.8)

  8. Step 700

    700

    #466E0C

    oklch(49% 0.128 130.8)

  9. Step 800

    800

    #3A5A10

    oklch(42.7% 0.106 130.7)

  10. Step 900

    900

    #324A16

    oklch(37.7% 0.083 130.6)

  11. Step 950

    950

    #1D2B0E

    oklch(26.8% 0.052 130.6)

Export this scale for Tailwind in the Tailwind colors tool

#4D790C 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)#7F6F000.074
Deuteranopia (no green cones)#796C1B0.074
Tritanopia (no blue cones)#4F73660.106
Achromatopsia (no color)#6D6D6D0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D790C

    #4D790C

    oklch(52.4% 0.138 130.8)

  • #834FA4

    #834FA4

    oklch(52.4% 0.138 310.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D790C

    #4D790C

    oklch(52.4% 0.138 130.8)

  • #786B00

    #786B00

    oklch(52.4% 0.109 101)

  • #007E53

    #007E53

    oklch(52.4% 0.117 160.8)

Open the analogous palette in the generator

Split complementary

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

  • #4D790C

    #4D790C

    oklch(52.4% 0.138 130.8)

  • #5E5DB7

    #5E5DB7

    oklch(52.4% 0.138 281)

  • #9C4582

    #9C4582

    oklch(52.4% 0.138 340.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D790C

    #4D790C

    oklch(52.4% 0.138 130.8)

  • #1A6CB6

    #1A6CB6

    oklch(52.3% 0.138 250.9)

  • #AA4156

    #AA4156

    oklch(52.4% 0.138 11)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D790C

    #4D790C

    oklch(52.4% 0.138 130.8)

  • #007691

    #007691

    oklch(52.4% 0.096 221.1)

  • #834FA4

    #834FA4

    oklch(52.4% 0.138 310.7)

  • #A94821

    #A94821

    oklch(52.3% 0.138 40.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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