#6A7F36

Closest named color: Swamp (#698339). oklch(56.3% 0.102 123.1), rgb(106, 127, 54).

Aa

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

About this color

#6A7F36 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.102 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.011 away. Black text reads best on it, at 4.70:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.70:1
White text4.46:1

Values

HEX#6A7F36
RGBrgb(106, 127, 54)
HSLhsl(77, 40%, 35%)
OKLCHoklch(56.3% 0.102 123.1)

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 #6A7F36 4.46:1 AA large text Lc -76.4 Fine for body text
Black text on #6A7F36 4.70:1 AA Lc 33.2 Non-text elements, placeholder text
#6A7F36 text on white 4.46:1 AA large text Lc 70.9 Content text, not long reading
#6A7F36 text on black 4.70:1 AA Lc -30.7 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

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCA

    oklch(88.5% 0.025 122)

  4. Step 300

    300

    #BBC6A6

    oklch(80.9% 0.045 122.8)

  5. Step 400

    400

    #98A975

    oklch(70.8% 0.074 123)

  6. Step 500

    500

    #7F9351

    oklch(63.2% 0.094 122.9)

  7. Step 600

    600 (this color)

    #6A7F36

    oklch(56.3% 0.102 123.1)

  8. Step 700

    700

    #576926

    oklch(49.1% 0.095 122.6)

  9. Step 800

    800

    #475621

    oklch(42.8% 0.079 123)

  10. Step 900

    900

    #3B4720

    oklch(37.7% 0.062 123.5)

  11. Step 950

    950

    #232A14

    oklch(27.2% 0.039 123.4)

Export this scale for Tailwind in the Tailwind colors tool

#6A7F36 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)#86782F0.043
Deuteranopia (no green cones)#83773B0.045
Tritanopia (no blue cones)#6F796F0.085
Achromatopsia (no color)#7777770.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A7F36

    #6A7F36

    oklch(56.3% 0.102 123.1)

  • #8266A7

    #8266A7

    oklch(56.4% 0.102 303.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A7F36

    #6A7F36

    oklch(56.3% 0.102 123.1)

  • #8A7321

    #8A7321

    oklch(56.2% 0.102 92.7)

  • #3F8758

    #3F8758

    oklch(56.4% 0.103 153)

Open the analogous palette in the generator

Split complementary

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

  • #6A7F36

    #6A7F36

    oklch(56.3% 0.102 123.1)

  • #6270B1

    #6270B1

    oklch(56.2% 0.102 273.5)

  • #995E8F

    #995E8F

    oklch(56.4% 0.102 333.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A7F36

    #6A7F36

    oklch(56.3% 0.102 123.1)

  • #387BAD

    #387BAD

    oklch(56.2% 0.103 243.8)

  • #A65A6F

    #A65A6F

    oklch(56.2% 0.102 3.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A7F36

    #6A7F36

    oklch(56.3% 0.102 123.1)

  • #008498

    #008498

    oklch(56.4% 0.099 213.1)

  • #8266A7

    #8266A7

    oklch(56.4% 0.102 303.1)

  • #A95D4D

    #A95D4D

    oklch(56.3% 0.103 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 #6A7F36, closest first.

Similar named colors

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

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