#707F31

Closest named color: Swamp (#698339). oklch(56.7% 0.105 119), rgb(112, 127, 49).

Aa

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

About this color

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

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

Values

HEX#707F31
RGBrgb(112, 127, 49)
HSLhsl(72, 44%, 35%)
OKLCHoklch(56.7% 0.105 119)

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

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A4

    oklch(80.8% 0.046 118.5)

  5. Step 400

    400

    #9BA872

    oklch(70.8% 0.076 119.4)

  6. Step 500

    500

    #83924C

    oklch(63.2% 0.096 119.2)

  7. Step 600

    600 (this color)

    #707F31

    oklch(56.7% 0.105 119)

  8. Step 700

    700

    #5B6820

    oklch(49.1% 0.097 118.9)

  9. Step 800

    800

    #4A551C

    oklch(42.7% 0.081 119.2)

  10. Step 900

    900

    #3E461D

    oklch(37.6% 0.063 118.7)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#707F31 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)#8778280.037
Deuteranopia (no green cones)#8579360.037
Tritanopia (no blue cones)#76786E0.089
Achromatopsia (no color)#7878780.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #707F31

    #707F31

    oklch(56.7% 0.105 119)

  • #7F68AB

    #7F68AB

    oklch(56.7% 0.104 298.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #707F31

    #707F31

    oklch(56.7% 0.105 119)

  • #8F731E

    #8F731E

    oklch(56.8% 0.105 89.5)

  • #468754

    #468754

    oklch(56.6% 0.103 149.2)

Open the analogous palette in the generator

Split complementary

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

  • #707F31

    #707F31

    oklch(56.7% 0.105 119)

  • #5D73B4

    #5D73B4

    oklch(56.7% 0.104 268.8)

  • #985F95

    #985F95

    oklch(56.7% 0.105 328.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #707F31

    #707F31

    oklch(56.7% 0.105 119)

  • #307EAD

    #307EAD

    oklch(56.7% 0.104 239.1)

  • #A75B75

    #A75B75

    oklch(56.7% 0.103 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #707F31

    #707F31

    oklch(56.7% 0.105 119)

  • #008695

    #008695

    oklch(56.7% 0.098 208.5)

  • #7F68AB

    #7F68AB

    oklch(56.7% 0.104 298.9)

  • #AC5D52

    #AC5D52

    oklch(56.8% 0.105 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #707F31 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.