#6A7F2D

Closest named color: Swamp (#698339). oklch(56.2% 0.111 122.2), rgb(106, 127, 45).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.68:1
White text4.48:1

Values

HEX#6A7F2D
RGBrgb(106, 127, 45)
HSLhsl(75, 48%, 34%)
OKLCHoklch(56.2% 0.111 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 #6A7F2D 4.48:1 AA large text Lc -76.5 Fine for body text
Black text on #6A7F2D 4.68:1 AA Lc 33.1 Non-text elements, placeholder text
#6A7F2D text on white 4.48:1 AA large text Lc 71.0 Content text, not long reading
#6A7F2D text on black 4.68: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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BBC6A3

    oklch(80.9% 0.049 121.7)

  5. Step 400

    400

    #98A971

    oklch(70.7% 0.079 122.2)

  6. Step 500

    500

    #7F934A

    oklch(63.1% 0.101 122)

  7. Step 600

    600 (this color)

    #6A7F2D

    oklch(56.2% 0.111 122.2)

  8. Step 700

    700

    #57691D

    oklch(49% 0.102 121.8)

  9. Step 800

    800

    #47561B

    oklch(42.7% 0.085 122.2)

  10. Step 900

    900

    #3B471C

    oklch(37.6% 0.067 122.6)

  11. Step 950

    950

    #232A11

    oklch(27.1% 0.043 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#6A7F2D 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)#8677230.044
Deuteranopia (no green cones)#8477330.046
Tritanopia (no blue cones)#6F796E0.092
Achromatopsia (no color)#7777770.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A7F2D

    #6A7F2D

    oklch(56.2% 0.111 122.2)

  • #8264AB

    #8264AB

    oklch(56.3% 0.111 302.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A7F2D

    #6A7F2D

    oklch(56.2% 0.111 122.2)

  • #8C720F

    #8C720F

    oklch(56.1% 0.11 92.2)

  • #3A8754

    #3A8754

    oklch(56.1% 0.11 152.3)

Open the analogous palette in the generator

Split complementary

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

  • #6A7F2D

    #6A7F2D

    oklch(56.2% 0.111 122.2)

  • #5F70B6

    #5F70B6

    oklch(56.3% 0.11 272.1)

  • #9B5B92

    #9B5B92

    oklch(56.3% 0.111 332.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A7F2D

    #6A7F2D

    oklch(56.2% 0.111 122.2)

  • #2E7CB0

    #2E7CB0

    oklch(56.3% 0.11 241.9)

  • #A95770

    #A95770

    oklch(56.2% 0.111 1.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A7F2D

    #6A7F2D

    oklch(56.2% 0.111 122.2)

  • #008497

    #008497

    oklch(56.3% 0.098 212.3)

  • #8264AB

    #8264AB

    oklch(56.3% 0.111 302.4)

  • #AC5A4A

    #AC5A4A

    oklch(56.1% 0.111 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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