#6F7E2B

Closest named color: Swamp (#698339). oklch(56.3% 0.109 118.8), rgb(111, 126, 43).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.69:1
White text4.47:1

Values

HEX#6F7E2B
RGBrgb(111, 126, 43)
HSLhsl(71, 49%, 33%)
OKLCHoklch(56.3% 0.109 118.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 #6F7E2B 4.47:1 AA large text Lc -76.4 Fine for body text
Black text on #6F7E2B 4.69:1 AA Lc 33.1 Non-text elements, placeholder text
#6F7E2B text on white 4.47:1 AA large text Lc 71.0 Content text, not long reading
#6F7E2B text on black 4.69:1 AA Lc -30.7 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

    #BDC6A2

    oklch(81% 0.05 118.9)

  5. Step 400

    400

    #9BA870

    oklch(70.7% 0.078 119.1)

  6. Step 500

    500

    #839248

    oklch(63.1% 0.101 118.8)

  7. Step 600

    600 (this color)

    #6F7E2B

    oklch(56.3% 0.109 118.8)

  8. Step 700

    700

    #5B681B

    oklch(49% 0.101 118.6)

  9. Step 800

    800

    #4A5519

    oklch(42.7% 0.084 119)

  10. Step 900

    900

    #3E461B

    oklch(37.6% 0.065 118.4)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#6F7E2B 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)#8677200.037
Deuteranopia (no green cones)#8477310.039
Tritanopia (no blue cones)#75776D0.094
Achromatopsia (no color)#7777770.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F7E2B

    #6F7E2B

    oklch(56.3% 0.109 118.8)

  • #7E66AC

    #7E66AC

    oklch(56.3% 0.108 298.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F7E2B

    #6F7E2B

    oklch(56.3% 0.109 118.8)

  • #8F7114

    #8F7114

    oklch(56.3% 0.109 88.9)

  • #428751

    #428751

    oklch(56.4% 0.109 149)

Open the analogous palette in the generator

Split complementary

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

  • #6F7E2B

    #6F7E2B

    oklch(56.3% 0.109 118.8)

  • #5B72B5

    #5B72B5

    oklch(56.4% 0.108 268.5)

  • #985D95

    #985D95

    oklch(56.4% 0.108 328.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F7E2B

    #6F7E2B

    oklch(56.3% 0.109 118.8)

  • #297DAE

    #297DAE

    oklch(56.3% 0.109 239.1)

  • #A85874

    #A85874

    oklch(56.3% 0.109 358.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F7E2B

    #6F7E2B

    oklch(56.3% 0.109 118.8)

  • #008594

    #008594

    oklch(56.4% 0.097 208.6)

  • #7E66AC

    #7E66AC

    oklch(56.3% 0.108 298.7)

  • #AC5A50

    #AC5A50

    oklch(56.3% 0.109 28.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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