#6B8A18

Closest named color: Mossy Green (#638B27). oklch(58.9% 0.138 124.6), rgb(107, 138, 24).

Aa

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

About this color

#6B8A18 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.138 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.011 away. Black text reads best on it, at 5.27:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.27:1
White text3.98:1

Values

HEX#6B8A18
RGBrgb(107, 138, 24)
HSLhsl(76, 70%, 32%)
OKLCHoklch(58.9% 0.138 124.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 #6B8A18 3.98:1 AA large text Lc -72.5 Content text, not long reading
Black text on #6B8A18 5.27:1 AA Lc 37.1 Non-text elements, placeholder text
#6B8A18 text on white 3.98:1 AA large text Lc 67.0 Content text, not long reading
#6B8A18 text on black 5.27:1 AA Lc -34.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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E7ECDF

    oklch(93.6% 0.018 124)

  3. Step 200

    200

    #D4DDC5

    oklch(88.4% 0.034 123.9)

  4. Step 300

    300

    #B8C89C

    oklch(80.9% 0.062 124)

  5. Step 400

    400

    #93AB65

    oklch(70.6% 0.099 124.3)

  6. Step 500

    500

    #799637

    oklch(63.1% 0.127 124.4)

  7. Step 600

    600 (this color)

    #6B8A18

    oklch(58.9% 0.138 124.6)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #38490F

    oklch(37.8% 0.084 124.7)

  11. Step 950

    950

    #212B0B

    oklch(27.1% 0.053 124.5)

Export this scale for Tailwind in the Tailwind colors tool

#6B8A18 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)#9280000.060
Deuteranopia (no green cones)#8E7F240.061
Tritanopia (no blue cones)#7083750.112
Achromatopsia (no color)#7F7F7F0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B8A18

    #6B8A18

    oklch(58.9% 0.138 124.6)

  • #9065BE

    #9065BE

    oklch(58.9% 0.138 304.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B8A18

    #6B8A18

    oklch(58.9% 0.138 124.6)

  • #947B00

    #947B00

    oklch(58.9% 0.121 94.7)

  • #1B9456

    #1B9456

    oklch(58.9% 0.138 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #6B8A18

    #6B8A18

    oklch(58.9% 0.138 124.6)

  • #6574CE

    #6574CE

    oklch(58.9% 0.138 274.3)

  • #AD5A9E

    #AD5A9E

    oklch(58.9% 0.138 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B8A18

    #6B8A18

    oklch(58.9% 0.138 124.6)

  • #1A83C9

    #1A83C9

    oklch(58.9% 0.139 244.8)

  • #BE5572

    #BE5572

    oklch(58.9% 0.138 4.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B8A18

    #6B8A18

    oklch(58.9% 0.138 124.6)

  • #008CA3

    #008CA3

    oklch(58.9% 0.104 214.7)

  • #9065BE

    #9065BE

    oklch(58.9% 0.138 304.8)

  • #C15941

    #C15941

    oklch(58.9% 0.139 34.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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