#6D802B

Closest named color: Swamp (#698339). oklch(56.7% 0.112 120.9), rgb(109, 128, 43).

Aa

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

About this color

#6D802B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.112 and its hue 121°. 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.77:1.

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

Values

HEX#6D802B
RGBrgb(109, 128, 43)
HSLhsl(73, 50%, 34%)
OKLCHoklch(56.7% 0.112 120.9)

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 #6D802B 4.39:1 AA large text Lc -75.9 Fine for body text
Black text on #6D802B 4.77:1 AA Lc 33.7 Non-text elements, placeholder text
#6D802B text on white 4.39:1 AA large text Lc 70.4 Content text, not long reading
#6D802B text on black 4.77:1 AA Lc -31.2 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC8

    oklch(88.4% 0.028 120.6)

  4. Step 300

    300

    #BBC6A2

    oklch(80.8% 0.051 121.3)

  5. Step 400

    400

    #99A96F

    oklch(70.8% 0.081 121.1)

  6. Step 500

    500

    #809348

    oklch(63.1% 0.103 121.2)

  7. Step 600

    600 (this color)

    #6D802B

    oklch(56.7% 0.112 120.9)

  8. Step 700

    700

    #586919

    oklch(49% 0.105 121)

  9. Step 800

    800

    #485618

    oklch(42.7% 0.087 121.2)

  10. Step 900

    900

    #3C471B

    oklch(37.7% 0.067 121.4)

  11. Step 950

    950

    #232A11

    oklch(27.1% 0.043 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#6D802B 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)#8879200.042
Deuteranopia (no green cones)#8578310.044
Tritanopia (no blue cones)#73796E0.095
Achromatopsia (no color)#7878780.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D802B

    #6D802B

    oklch(56.7% 0.112 120.9)

  • #8266AE

    #8266AE

    oklch(56.8% 0.112 300.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D802B

    #6D802B

    oklch(56.7% 0.112 120.9)

  • #8F730D

    #8F730D

    oklch(56.7% 0.112 91.1)

  • #3D8953

    #3D8953

    oklch(56.7% 0.112 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #6D802B

    #6D802B

    oklch(56.7% 0.112 120.9)

  • #5E71B8

    #5E71B8

    oklch(56.6% 0.112 271.1)

  • #9C5C95

    #9C5C95

    oklch(56.7% 0.113 331)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D802B

    #6D802B

    oklch(56.7% 0.112 120.9)

  • #2A7EB2

    #2A7EB2

    oklch(56.8% 0.112 240.6)

  • #AB5873

    #AB5873

    oklch(56.7% 0.112 0.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D802B

    #6D802B

    oklch(56.7% 0.112 120.9)

  • #008597

    #008597

    oklch(56.6% 0.098 211.3)

  • #8266AE

    #8266AE

    oklch(56.8% 0.112 300.8)

  • #AF5B4D

    #AF5B4D

    oklch(56.8% 0.112 30.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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