#6A812E

Closest named color: Swamp (#698339). oklch(56.7% 0.112 123.2), rgb(106, 129, 46).

Aa

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

About this color

#6A812E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.112 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.010 away. Black text reads best on it, at 4.79:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.79:1
White text4.38:1

Values

HEX#6A812E
RGBrgb(106, 129, 46)
HSLhsl(77, 47%, 34%)
OKLCHoklch(56.7% 0.112 123.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 #6A812E 4.38:1 AA large text Lc -75.8 Fine for body text
Black text on #6A812E 4.79:1 AA Lc 33.8 Non-text elements, placeholder text
#6A812E text on white 4.38:1 AA large text Lc 70.3 Content text, not long reading
#6A812E text on black 4.79:1 AA Lc -31.4 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

    #D5DDC8

    oklch(88.6% 0.03 124)

  4. Step 300

    300

    #BAC7A3

    oklch(81% 0.051 123.7)

  5. Step 400

    400

    #97A970

    oklch(70.7% 0.081 122.7)

  6. Step 500

    500

    #7D944A

    oklch(63.1% 0.104 123.6)

  7. Step 600

    600 (this color)

    #6A812E

    oklch(56.7% 0.112 123.2)

  8. Step 700

    700

    #556A1D

    oklch(49.1% 0.105 123.5)

  9. Step 800

    800

    #46561A

    oklch(42.6% 0.086 122.9)

  10. Step 900

    900

    #3B471C

    oklch(37.6% 0.067 122.6)

  11. Step 950

    950

    #222A11

    oklch(27% 0.044 123.9)

Export this scale for Tailwind in the Tailwind colors tool

#6A812E 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)#8879240.047
Deuteranopia (no green cones)#8578340.048
Tritanopia (no blue cones)#6F7B700.093
Achromatopsia (no color)#7979790.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A812E

    #6A812E

    oklch(56.7% 0.112 123.2)

  • #8465AD

    #8465AD

    oklch(56.7% 0.113 302.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A812E

    #6A812E

    oklch(56.7% 0.112 123.2)

  • #8D740D

    #8D740D

    oklch(56.7% 0.112 93.2)

  • #388956

    #388956

    oklch(56.6% 0.112 153.2)

Open the analogous palette in the generator

Split complementary

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

  • #6A812E

    #6A812E

    oklch(56.7% 0.112 123.2)

  • #6171B8

    #6171B8

    oklch(56.8% 0.111 272.8)

  • #9D5C93

    #9D5C93

    oklch(56.7% 0.112 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A812E

    #6A812E

    oklch(56.7% 0.112 123.2)

  • #307DB3

    #307DB3

    oklch(56.7% 0.112 243.1)

  • #AC5870

    #AC5870

    oklch(56.8% 0.112 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A812E

    #6A812E

    oklch(56.7% 0.112 123.2)

  • #008599

    #008599

    oklch(56.7% 0.099 213)

  • #8465AD

    #8465AD

    oklch(56.7% 0.113 302.8)

  • #AF5B4A

    #AF5B4A

    oklch(56.7% 0.113 32.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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