#6D8342

Closest named color: Swamp (#698339). oklch(57.7% 0.094 124.7), rgb(109, 131, 66).

Aa

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

About this color

#6D8342 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.094 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.012 away. Black text reads best on it, at 4.97:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.97:1
White text4.22:1

Values

HEX#6D8342
RGBrgb(109, 131, 66)
HSLhsl(80, 33%, 39%)
OKLCHoklch(57.7% 0.094 124.7)

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 #6D8342 4.22:1 AA large text Lc -74.6 Content text, not long reading
Black text on #6D8342 4.97:1 AA Lc 35.0 Non-text elements, placeholder text
#6D8342 text on white 4.22:1 AA large text Lc 69.1 Content text, not long reading
#6D8342 text on black 4.97:1 AA Lc -32.6 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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D5DCCB

    oklch(88.4% 0.024 125.2)

  4. Step 300

    300

    #BAC6A8

    oklch(80.9% 0.043 125.1)

  5. Step 400

    400

    #97A87A

    oklch(70.6% 0.067 124.6)

  6. Step 500

    500

    #7E9357

    oklch(63.2% 0.087 124.6)

  7. Step 600

    600 (this color)

    #6D8342

    oklch(57.7% 0.094 124.7)

  8. Step 700

    700

    #56692E

    oklch(49.1% 0.087 124.4)

  9. Step 800

    800

    #465627

    oklch(42.8% 0.073 124.9)

  10. Step 900

    900

    #3B4724

    oklch(37.8% 0.057 124.6)

  11. Step 950

    950

    #222A16

    oklch(27.1% 0.037 126.5)

Export this scale for Tailwind in the Tailwind colors tool

#6D8342 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)#897C3C0.043
Deuteranopia (no green cones)#867B460.044
Tritanopia (no blue cones)#717E740.076
Achromatopsia (no color)#7B7B7B0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D8342

    #6D8342

    oklch(57.7% 0.094 124.7)

  • #866BA6

    #866BA6

    oklch(57.7% 0.093 304.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D8342

    #6D8342

    oklch(57.7% 0.094 124.7)

  • #8B7830

    #8B7830

    oklch(57.6% 0.094 94.4)

  • #478A60

    #478A60

    oklch(57.7% 0.095 154.6)

Open the analogous palette in the generator

Split complementary

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

  • #6D8342

    #6D8342

    oklch(57.7% 0.094 124.7)

  • #6975B1

    #6975B1

    oklch(57.8% 0.094 274.5)

  • #9C6390

    #9C6390

    oklch(57.7% 0.096 334.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D8342

    #6D8342

    oklch(57.7% 0.094 124.7)

  • #457FAD

    #457FAD

    oklch(57.7% 0.094 244.4)

  • #A86172

    #A86172

    oklch(57.8% 0.094 5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D8342

    #6D8342

    oklch(57.7% 0.094 124.7)

  • #1E879C

    #1E879C

    oklch(57.6% 0.094 215)

  • #866BA6

    #866BA6

    oklch(57.7% 0.093 304.7)

  • #A96453

    #A96453

    oklch(57.6% 0.094 34.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6D8342 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.