#6E7F27

Closest named color: Swamp (#698339). oklch(56.5% 0.114 119.6), rgb(110, 127, 39).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.72:1
White text4.44:1

Values

HEX#6E7F27
RGBrgb(110, 127, 39)
HSLhsl(72, 53%, 33%)
OKLCHoklch(56.5% 0.114 119.6)

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

    #BCC6A1

    oklch(80.9% 0.052 119.8)

  5. Step 400

    400

    #9AA86E

    oklch(70.6% 0.081 119.6)

  6. Step 500

    500

    #829345

    oklch(63.2% 0.106 119.7)

  7. Step 600

    600 (this color)

    #6E7F27

    oklch(56.5% 0.114 119.6)

  8. Step 700

    700

    #5A6916

    oklch(49.2% 0.106 119.6)

  9. Step 800

    800

    #495616

    oklch(42.8% 0.088 120.2)

  10. Step 900

    900

    #3D4719

    oklch(37.8% 0.069 120.1)

  11. Step 950

    950

    #242910

    oklch(26.9% 0.042 118.7)

Export this scale for Tailwind in the Tailwind colors tool

#6E7F27 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)#87781A0.039
Deuteranopia (no green cones)#85782E0.041
Tritanopia (no blue cones)#74786D0.097
Achromatopsia (no color)#7878780.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #6E7F27

    #6E7F27

    oklch(56.5% 0.114 119.6)

  • #8065AF

    #8065AF

    oklch(56.5% 0.114 299.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6E7F27

    #6E7F27

    oklch(56.5% 0.114 119.6)

  • #907206

    #907206

    oklch(56.5% 0.114 90)

  • #3D8850

    #3D8850

    oklch(56.4% 0.114 149.7)

Open the analogous palette in the generator

Split complementary

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

  • #6E7F27

    #6E7F27

    oklch(56.5% 0.114 119.6)

  • #5B71B9

    #5B71B9

    oklch(56.4% 0.115 269.6)

  • #9A5C96

    #9A5C96

    oklch(56.5% 0.113 329.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6E7F27

    #6E7F27

    oklch(56.5% 0.114 119.6)

  • #257EB1

    #257EB1

    oklch(56.6% 0.113 239.2)

  • #AA5773

    #AA5773

    oklch(56.4% 0.113 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6E7F27

    #6E7F27

    oklch(56.5% 0.114 119.6)

  • #008595

    #008595

    oklch(56.5% 0.098 209.5)

  • #8065AF

    #8065AF

    oklch(56.5% 0.114 299.6)

  • #AF594D

    #AF594D

    oklch(56.5% 0.115 29.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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