#6E7F2A

Closest named color: Swamp (#698339). oklch(56.5% 0.111 119.8), rgb(110, 127, 42).

Aa

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

About this color

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

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

Values

HEX#6E7F2A
RGBrgb(110, 127, 42)
HSLhsl(72, 50%, 33%)
OKLCHoklch(56.5% 0.111 119.8)

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 #6E7F2A 4.43:1 AA large text Lc -76.2 Fine for body text
Black text on #6E7F2A 4.73:1 AA Lc 33.4 Non-text elements, placeholder text
#6E7F2A text on white 4.43:1 AA large text Lc 70.7 Content text, not long reading
#6E7F2A text on black 4.73:1 AA Lc -31.0 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

    #BCC6A2

    oklch(80.9% 0.05 120.1)

  5. Step 400

    400

    #9AA86F

    oklch(70.6% 0.08 119.7)

  6. Step 500

    500

    #829247

    oklch(63% 0.102 119.4)

  7. Step 600

    600 (this color)

    #6E7F2A

    oklch(56.5% 0.111 119.8)

  8. Step 700

    700

    #5A6919

    oklch(49.2% 0.104 119.7)

  9. Step 800

    800

    #495518

    oklch(42.6% 0.085 119.7)

  10. Step 900

    900

    #3D471A

    oklch(37.8% 0.068 120.2)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#6E7F2A 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)#87781F0.039
Deuteranopia (no green cones)#8578300.041
Tritanopia (no blue cones)#74786E0.096
Achromatopsia (no color)#7878780.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #6E7F2A

    #6E7F2A

    oklch(56.5% 0.111 119.8)

  • #8066AE

    #8066AE

    oklch(56.6% 0.111 299.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6E7F2A

    #6E7F2A

    oklch(56.5% 0.111 119.8)

  • #90720E

    #90720E

    oklch(56.6% 0.112 89.6)

  • #3F8851

    #3F8851

    oklch(56.5% 0.112 149.6)

Open the analogous palette in the generator

Split complementary

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

  • #6E7F2A

    #6E7F2A

    oklch(56.5% 0.111 119.8)

  • #5C71B7

    #5C71B7

    oklch(56.4% 0.111 269.9)

  • #9A5C95

    #9A5C95

    oklch(56.4% 0.112 329.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6E7F2A

    #6E7F2A

    oklch(56.5% 0.111 119.8)

  • #287DB0

    #287DB0

    oklch(56.4% 0.112 239.9)

  • #AA5873

    #AA5873

    oklch(56.6% 0.111 0.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6E7F2A

    #6E7F2A

    oklch(56.5% 0.111 119.8)

  • #008595

    #008595

    oklch(56.5% 0.098 209.5)

  • #8066AE

    #8066AE

    oklch(56.6% 0.111 299.5)

  • #AE5A4E

    #AE5A4E

    oklch(56.5% 0.112 29.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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