#6F8342

Closest named color: Swamp (#698339). oklch(57.8% 0.093 123.4), rgb(111, 131, 66).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameSwamp (#698339)
Black text5.00:1
White text4.19:1

Values

HEX#6F8342
RGBrgb(111, 131, 66)
HSLhsl(78, 33%, 39%)
OKLCHoklch(57.8% 0.093 123.4)

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 #6F8342 4.19:1 AA large text Lc -74.4 Content text, not long reading
Black text on #6F8342 5.00:1 AA Lc 35.2 Non-text elements, placeholder text
#6F8342 text on white 4.19:1 AA large text Lc 68.9 Content text, not long reading
#6F8342 text on black 5.00:1 AA Lc -32.8 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BBC6A8

    oklch(81% 0.043 123.7)

  5. Step 400

    400

    #98A879

    oklch(70.7% 0.068 123.4)

  6. Step 500

    500

    #7F9257

    oklch(63% 0.085 123.4)

  7. Step 600

    600 (this color)

    #6F8342

    oklch(57.8% 0.093 123.4)

  8. Step 700

    700

    #57692D

    oklch(49.2% 0.088 123.5)

  9. Step 800

    800

    #475527

    oklch(42.6% 0.071 123.4)

  10. Step 900

    900

    #3C4724

    oklch(37.9% 0.057 123.4)

  11. Step 950

    950

    #232916

    oklch(26.9% 0.034 123)

Export this scale for Tailwind in the Tailwind colors tool

#6F8342 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.040
Deuteranopia (no green cones)#877B460.043
Tritanopia (no blue cones)#737D740.077
Achromatopsia (no color)#7C7C7C0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F8342

    #6F8342

    oklch(57.8% 0.093 123.4)

  • #856CA7

    #856CA7

    oklch(57.9% 0.093 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F8342

    #6F8342

    oklch(57.8% 0.093 123.4)

  • #8D7832

    #8D7832

    oklch(57.8% 0.093 92.5)

  • #4A8A60

    #4A8A60

    oklch(57.9% 0.093 153.7)

Open the analogous palette in the generator

Split complementary

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

  • #6F8342

    #6F8342

    oklch(57.8% 0.093 123.4)

  • #6876B1

    #6876B1

    oklch(57.9% 0.092 273)

  • #9B6491

    #9B6491

    oklch(57.8% 0.094 333.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F8342

    #6F8342

    oklch(57.8% 0.093 123.4)

  • #4480AD

    #4480AD

    oklch(57.9% 0.094 243.1)

  • #A86174

    #A86174

    oklch(57.8% 0.094 3.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F8342

    #6F8342

    oklch(57.8% 0.093 123.4)

  • #20889B

    #20889B

    oklch(57.9% 0.093 213.2)

  • #856CA7

    #856CA7

    oklch(57.9% 0.093 303.1)

  • #AA6455

    #AA6455

    oklch(57.8% 0.094 32.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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