#336F40

Closest named color: Dark Olive Green (#556B2F). oklch(48.9% 0.097 148.8), rgb(51, 111, 64).

Aa

White text reads best on this color (6.01:1).

About this color

#336F40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.097 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.038 away. White text reads best on it, at 6.01:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.48:1
White text6.01:1

Values

HEX#336F40
RGBrgb(51, 111, 64)
HSLhsl(133, 37%, 32%)
OKLCHoklch(48.9% 0.097 148.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 #336F40 6.01:1 AA Lc -85.1 Fine for body text
Black text on #336F40 3.48:1 AA large text Lc 24.2 Dividers and decoration only
#336F40 text on white 6.01:1 AA Lc 79.9 Fine for body text
#336F40 text on black 3.48:1 AA large text Lc -21.9 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE5

    oklch(93.7% 0.014 148.8)

  3. Step 200

    200

    #CEDED0

    oklch(88.5% 0.026 149.1)

  4. Step 300

    300

    #ACCAB0

    oklch(81% 0.048 148.9)

  5. Step 400

    400

    #80AE87

    oklch(70.7% 0.075 148.8)

  6. Step 500

    500

    #5E9A69

    oklch(63.2% 0.097 148.9)

  7. Step 600

    600

    #428450

    oklch(55.6% 0.105 148.9)

  8. Step 700

    700 (this color)

    #336F40

    oklch(48.9% 0.097 148.8)

  9. Step 800

    800

    #2C5B36

    oklch(42.7% 0.08 149)

  10. Step 900

    900

    #284B2F

    oklch(37.8% 0.063 149.1)

  11. Step 950

    950

    #182C1B

    oklch(27% 0.041 148)

Export this scale for Tailwind in the Tailwind colors tool

#336F40 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)#70663D0.080
Deuteranopia (no green cones)#6861430.078
Tritanopia (no blue cones)#276D630.055
Achromatopsia (no color)#6363630.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #336F40

    #336F40

    oklch(48.9% 0.097 148.8)

  • #7E4B7B

    #7E4B7B

    oklch(49% 0.096 329)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336F40

    #336F40

    oklch(48.9% 0.097 148.8)

  • #5A671E

    #5A671E

    oklch(48.7% 0.098 118.9)

  • #007061

    #007061

    oklch(48.8% 0.089 179.2)

Open the analogous palette in the generator

Split complementary

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

  • #336F40

    #336F40

    oklch(48.9% 0.097 148.8)

  • #68538F

    #68538F

    oklch(49% 0.096 298.9)

  • #8B465F

    #8B465F

    oklch(48.7% 0.098 358.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336F40

    #336F40

    oklch(48.9% 0.097 148.8)

  • #495D97

    #495D97

    oklch(48.9% 0.097 268.3)

  • #8F483F

    #8F483F

    oklch(48.8% 0.098 28.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336F40

    #336F40

    oklch(48.9% 0.097 148.8)

  • #1C6791

    #1C6791

    oklch(49% 0.097 238.6)

  • #7E4B7B

    #7E4B7B

    oklch(49% 0.096 329)

  • #88511F

    #88511F

    oklch(48.9% 0.097 59.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #336F40 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.