#717F28

Closest named color: Swamp (#698339). oklch(56.7% 0.112 118), rgb(113, 127, 40).

Aa

Black text reads best on this color (4.76:1).

About this color

#717F28 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.112 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.017 away. Black text reads best on it, at 4.76:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.76:1
White text4.40:1

Values

HEX#717F28
RGBrgb(113, 127, 40)
HSLhsl(70, 52%, 33%)
OKLCHoklch(56.7% 0.112 118)

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 #717F28 4.40:1 AA large text Lc -75.9 Fine for body text
Black text on #717F28 4.76:1 AA Lc 33.6 Non-text elements, placeholder text
#717F28 text on white 4.40:1 AA large text Lc 70.4 Content text, not long reading
#717F28 text on black 4.76:1 AA Lc -31.2 Non-text elements, placeholder text

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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC8

    oklch(88.5% 0.027 118.4)

  4. Step 300

    300

    #BDC6A1

    oklch(81% 0.051 118.7)

  5. Step 400

    400

    #9CA86E

    oklch(70.8% 0.08 118)

  6. Step 500

    500

    #849245

    oklch(63.1% 0.103 118)

  7. Step 600

    600 (this color)

    #717F28

    oklch(56.7% 0.112 118)

  8. Step 700

    700

    #5C6816

    oklch(49.1% 0.104 117.8)

  9. Step 800

    800

    #4B5516

    oklch(42.7% 0.086 118)

  10. Step 900

    900

    #3E4619

    oklch(37.6% 0.067 118.2)

  11. Step 950

    950

    #252910

    oklch(27% 0.042 116.8)

Export this scale for Tailwind in the Tailwind colors tool

#717F28 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)#87781C0.036
Deuteranopia (no green cones)#86792E0.037
Tritanopia (no blue cones)#78786D0.096
Achromatopsia (no color)#7878780.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #717F28

    #717F28

    oklch(56.7% 0.112 118)

  • #7F67B0

    #7F67B0

    oklch(56.8% 0.112 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #717F28

    #717F28

    oklch(56.7% 0.112 118)

  • #92720F

    #92720F

    oklch(56.8% 0.112 88.2)

  • #43884F

    #43884F

    oklch(56.7% 0.112 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #717F28

    #717F28

    oklch(56.7% 0.112 118)

  • #5A73B8

    #5A73B8

    oklch(56.7% 0.111 267.7)

  • #9A5D98

    #9A5D98

    oklch(56.7% 0.113 328.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #717F28

    #717F28

    oklch(56.7% 0.112 118)

  • #247FB0

    #247FB0

    oklch(56.7% 0.111 237.7)

  • #AA5876

    #AA5876

    oklch(56.7% 0.112 358.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #717F28

    #717F28

    oklch(56.7% 0.112 118)

  • #008694

    #008694

    oklch(56.7% 0.097 207.7)

  • #7F67B0

    #7F67B0

    oklch(56.8% 0.112 297.9)

  • #AF5A51

    #AF5A51

    oklch(56.7% 0.113 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #717F28 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.