#6B8112

Closest named color: Swamp Green (#748500). oklch(56.6% 0.13 121.2), rgb(107, 129, 18).

Aa

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

About this color

#6B8112 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.130 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.019 away. Black text reads best on it, at 4.77:1.

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

Values

HEX#6B8112
RGBrgb(107, 129, 18)
HSLhsl(72, 76%, 29%)
OKLCHoklch(56.6% 0.13 121.2)

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 #6B8112 4.39:1 AA large text Lc -75.8 Fine for body text
Black text on #6B8112 4.77:1 AA Lc 33.7 Non-text elements, placeholder text
#6B8112 text on white 4.39:1 AA large text Lc 70.3 Content text, not long reading
#6B8112 text on black 4.77:1 AA Lc -31.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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #98AA66

    oklch(70.8% 0.094 120.9)

  6. Step 500

    500

    #7F9439

    oklch(63.1% 0.119 120.9)

  7. Step 600

    600 (this color)

    #6B8112

    oklch(56.6% 0.13 121.2)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475705

    oklch(42.8% 0.1 121.3)

  10. Step 900

    900

    #3B4811

    oklch(37.8% 0.079 121.8)

  11. Step 950

    950

    #232A0C

    oklch(27% 0.049 120.8)

Export this scale for Tailwind in the Tailwind colors tool

#6B8112 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)#8A79000.049
Deuteranopia (no green cones)#87781F0.051
Tritanopia (no blue cones)#717A6D0.108
Achromatopsia (no color)#7878780.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B8112

    #6B8112

    oklch(56.6% 0.13 121.2)

  • #8462B6

    #8462B6

    oklch(56.7% 0.13 301)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B8112

    #6B8112

    oklch(56.6% 0.13 121.2)

  • #8F7300

    #8F7300

    oklch(56.6% 0.116 91.8)

  • #2B8B4D

    #2B8B4D

    oklch(56.6% 0.13 151.3)

Open the analogous palette in the generator

Split complementary

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

  • #6B8112

    #6B8112

    oklch(56.6% 0.13 121.2)

  • #5B6FC2

    #5B6FC2

    oklch(56.5% 0.13 271.5)

  • #A15799

    #A15799

    oklch(56.7% 0.13 331.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B8112

    #6B8112

    oklch(56.6% 0.13 121.2)

  • #0A7EBB

    #0A7EBB

    oklch(56.7% 0.13 241.1)

  • #B25171

    #B25171

    oklch(56.6% 0.13 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B8112

    #6B8112

    oklch(56.6% 0.13 121.2)

  • #008597

    #008597

    oklch(56.6% 0.098 211.3)

  • #8462B6

    #8462B6

    oklch(56.7% 0.13 301)

  • #B65544

    #B65544

    oklch(56.7% 0.13 31.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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