#6E7D2B

Closest named color: Swamp (#698339). oklch(56% 0.108 118.9), rgb(110, 125, 43).

Aa

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

About this color

#6E7D2B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.108 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.018 away. Black text reads best on it, at 4.63:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.63:1
White text4.53:1

Values

HEX#6E7D2B
RGBrgb(110, 125, 43)
HSLhsl(71, 49%, 33%)
OKLCHoklch(56% 0.108 118.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 #6E7D2B 4.53:1 AA Lc -76.9 Fine for body text
Black text on #6E7D2B 4.63:1 AA Lc 32.7 Non-text elements, placeholder text
#6E7D2B text on white 4.53:1 AA Lc 71.4 Content text, not long reading
#6E7D2B text on black 4.63:1 AA Lc -30.3 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

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC8

    oklch(88.5% 0.027 118.4)

  4. Step 300

    300

    #BDC6A3

    oklch(81% 0.049 119.2)

  5. Step 400

    400

    #9BA870

    oklch(70.7% 0.078 119.1)

  6. Step 500

    500

    #839249

    oklch(63.1% 0.1 118.9)

  7. Step 600

    600 (this color)

    #6E7D2B

    oklch(56% 0.108 118.9)

  8. Step 700

    700

    #5B681C

    oklch(49.1% 0.1 118.7)

  9. Step 800

    800

    #4A551A

    oklch(42.7% 0.083 119.1)

  10. Step 900

    900

    #3E461C

    oklch(37.6% 0.064 118.5)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#6E7D2B 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)#8576210.037
Deuteranopia (no green cones)#8376310.039
Tritanopia (no blue cones)#74766C0.093
Achromatopsia (no color)#7676760.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #6E7D2B

    #6E7D2B

    oklch(56% 0.108 118.9)

  • #7D65AB

    #7D65AB

    oklch(56% 0.108 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6E7D2B

    #6E7D2B

    oklch(56% 0.108 118.9)

  • #8E7014

    #8E7014

    oklch(55.9% 0.108 88.7)

  • #428650

    #428650

    oklch(56.1% 0.108 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #6E7D2B

    #6E7D2B

    oklch(56% 0.108 118.9)

  • #5A71B4

    #5A71B4

    oklch(56.1% 0.108 268.4)

  • #975C94

    #975C94

    oklch(56% 0.109 328.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6E7D2B

    #6E7D2B

    oklch(56% 0.108 118.9)

  • #297CAD

    #297CAD

    oklch(56% 0.109 239.3)

  • #A65773

    #A65773

    oklch(55.9% 0.108 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6E7D2B

    #6E7D2B

    oklch(56% 0.108 118.9)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

  • #7D65AB

    #7D65AB

    oklch(56% 0.108 298.6)

  • #AB5A4F

    #AB5A4F

    oklch(56.1% 0.108 29)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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