#4F7017

Closest named color: Dark Olive Green (#556B2F). oklch(50.2% 0.12 128.3), rgb(79, 112, 23).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.66:1
White text5.73:1

Values

HEX#4F7017
RGBrgb(79, 112, 23)
HSLhsl(82, 66%, 26%)
OKLCHoklch(50.2% 0.12 128.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 #4F7017 5.73:1 AA Lc -83.8 Fine for body text
Black text on #4F7017 3.66:1 AA large text Lc 25.5 Dividers and decoration only
#4F7017 text on white 5.73:1 AA Lc 78.5 Fine for body text
#4F7017 text on black 3.66:1 AA large text Lc -23.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 700.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D3DEC7

    oklch(88.6% 0.033 128)

  4. Step 300

    300

    #B5C8A1

    oklch(80.8% 0.057 128.8)

  5. Step 400

    400

    #8FAC6D

    oklch(70.7% 0.093 128.7)

  6. Step 500

    500

    #749744

    oklch(63.1% 0.118 128.4)

  7. Step 600

    600

    #5C8121

    oklch(55.6% 0.129 128.5)

  8. Step 700

    700 (this color)

    #4F7017

    oklch(50.2% 0.12 128.3)

  9. Step 800

    800

    #3E5914

    oklch(42.7% 0.1 128.7)

  10. Step 900

    900

    #354918

    oklch(37.6% 0.077 128.4)

  11. Step 950

    950

    #1F2B0F

    oklch(27% 0.05 128.5)

Export this scale for Tailwind in the Tailwind colors tool

#4F7017 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)#7668030.059
Deuteranopia (no green cones)#7165200.060
Tritanopia (no blue cones)#526B5F0.094
Achromatopsia (no color)#6666660.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F7017

    #4F7017

    oklch(50.2% 0.12 128.3)

  • #774E98

    #774E98

    oklch(50.1% 0.121 308.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F7017

    #4F7017

    oklch(50.2% 0.12 128.3)

  • #736400

    #736400

    oklch(50.2% 0.104 99)

  • #00774A

    #00774A

    oklch(50.2% 0.116 158.6)

Open the analogous palette in the generator

Split complementary

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

  • #4F7017

    #4F7017

    oklch(50.2% 0.12 128.3)

  • #555AA7

    #555AA7

    oklch(50.1% 0.121 278.3)

  • #8E457B

    #8E457B

    oklch(50.1% 0.12 338.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F7017

    #4F7017

    oklch(50.2% 0.12 128.3)

  • #1D67A4

    #1D67A4

    oklch(50.1% 0.12 248.3)

  • #9B4256

    #9B4256

    oklch(50.2% 0.12 8.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F7017

    #4F7017

    oklch(50.2% 0.12 128.3)

  • #007086

    #007086

    oklch(50.3% 0.09 217.7)

  • #774E98

    #774E98

    oklch(50.1% 0.121 308.2)

  • #9B472C

    #9B472C

    oklch(50.1% 0.12 38.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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