#6B7F33

Closest named color: Swamp (#698339). oklch(56.4% 0.105 122.2), rgb(107, 127, 51).

Aa

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

About this color

#6B7F33 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.105 and its hue 122°. 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.105)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.70:1
White text4.45:1

Values

HEX#6B7F33
RGBrgb(107, 127, 51)
HSLhsl(76, 43%, 35%)
OKLCHoklch(56.4% 0.105 122.2)

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

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BBC6A5

    oklch(80.9% 0.047 122.4)

  5. Step 400

    400

    #98A874

    oklch(70.6% 0.074 122.2)

  6. Step 500

    500

    #7F934E

    oklch(63.1% 0.097 122.5)

  7. Step 600

    600 (this color)

    #6B7F33

    oklch(56.4% 0.105 122.2)

  8. Step 700

    700

    #576923

    oklch(49% 0.097 122.3)

  9. Step 800

    800

    #47561F

    oklch(42.7% 0.081 122.7)

  10. Step 900

    900

    #3C471F

    oklch(37.8% 0.063 122.2)

  11. Step 950

    950

    #232A13

    oklch(27.1% 0.04 123)

Export this scale for Tailwind in the Tailwind colors tool

#6B7F33 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)#86782B0.042
Deuteranopia (no green cones)#8477380.045
Tritanopia (no blue cones)#70796F0.088
Achromatopsia (no color)#7777770.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B7F33

    #6B7F33

    oklch(56.4% 0.105 122.2)

  • #8166A8

    #8166A8

    oklch(56.4% 0.103 302)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B7F33

    #6B7F33

    oklch(56.4% 0.105 122.2)

  • #8B731D

    #8B731D

    oklch(56.3% 0.104 92.5)

  • #3F8756

    #3F8756

    oklch(56.4% 0.105 152)

Open the analogous palette in the generator

Split complementary

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

  • #6B7F33

    #6B7F33

    oklch(56.4% 0.105 122.2)

  • #6071B3

    #6071B3

    oklch(56.4% 0.104 271.8)

  • #995D91

    #995D91

    oklch(56.3% 0.105 331.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B7F33

    #6B7F33

    oklch(56.4% 0.105 122.2)

  • #347CAE

    #347CAE

    oklch(56.4% 0.105 242.3)

  • #A75970

    #A75970

    oklch(56.2% 0.105 2.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B7F33

    #6B7F33

    oklch(56.4% 0.105 122.2)

  • #008497

    #008497

    oklch(56.3% 0.098 212.3)

  • #8166A8

    #8166A8

    oklch(56.4% 0.103 302)

  • #AA5C4D

    #AA5C4D

    oklch(56.3% 0.105 32)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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