#4F7228

Closest named color: Dark Olive Green (#556B2F). oklch(50.9% 0.11 130.8), rgb(79, 114, 40).

Aa

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

About this color

#4F7228 is a medium-dark, moderately saturated green. In OKLCH its lightness is 51%, its chroma 0.110 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.026 away. White text reads best on it, at 5.57:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.77:1
White text5.57:1

Values

HEX#4F7228
RGBrgb(79, 114, 40)
HSLhsl(88, 48%, 30%)
OKLCHoklch(50.9% 0.11 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 #4F7228 5.57:1 AA Lc -83.0 Fine for body text
Black text on #4F7228 3.77:1 AA large text Lc 26.4 Dividers and decoration only
#4F7228 text on white 5.57:1 AA Lc 77.7 Fine for body text
#4F7228 text on black 3.77:1 AA large text Lc -24.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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D2DDC9

    oklch(88.4% 0.029 130.8)

  4. Step 300

    300

    #B5C8A4

    oklch(80.9% 0.053 130.3)

  5. Step 400

    400

    #8EAC73

    oklch(70.7% 0.086 130.9)

  6. Step 500

    500

    #72974E

    oklch(63.1% 0.109 131)

  7. Step 600

    600

    #5A8130

    oklch(55.6% 0.119 131)

  8. Step 700

    700 (this color)

    #4F7228

    oklch(50.9% 0.11 130.8)

  9. Step 800

    800

    #3D591E

    oklch(42.8% 0.092 130.9)

  10. Step 900

    900

    #34491F

    oklch(37.7% 0.07 131)

  11. Step 950

    950

    #1F2B13

    oklch(27.1% 0.045 130.6)

Export this scale for Tailwind in the Tailwind colors tool

#4F7228 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)#776A1F0.059
Deuteranopia (no green cones)#72672E0.061
Tritanopia (no blue cones)#516D620.084
Achromatopsia (no color)#6868680.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F7228

    #4F7228

    oklch(50.9% 0.11 130.8)

  • #7A5294

    #7A5294

    oklch(51% 0.11 310.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F7228

    #4F7228

    oklch(50.9% 0.11 130.8)

  • #736700

    #736700

    oklch(50.9% 0.106 101.4)

  • #0C7850

    #0C7850

    oklch(50.7% 0.11 160.9)

Open the analogous palette in the generator

Split complementary

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

  • #4F7228

    #4F7228

    oklch(50.9% 0.11 130.8)

  • #5B5DA3

    #5B5DA3

    oklch(51% 0.11 280.5)

  • #8F4A78

    #8F4A78

    oklch(50.9% 0.11 341.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F7228

    #4F7228

    oklch(50.9% 0.11 130.8)

  • #2F68A2

    #2F68A2

    oklch(50.8% 0.11 251.2)

  • #9A4856

    #9A4856

    oklch(51% 0.11 11.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F7228

    #4F7228

    oklch(50.9% 0.11 130.8)

  • #00718B

    #00718B

    oklch(50.8% 0.093 221.1)

  • #7A5294

    #7A5294

    oklch(51% 0.11 310.9)

  • #994D30

    #994D30

    oklch(50.8% 0.11 41)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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