#336C1A

Closest named color: Camouflage Green (#4B6113). oklch(47.5% 0.128 138), rgb(51, 108, 26).

Aa

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

About this color

#336C1A is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.128 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camouflage Green (#4B6113), ΔE 0.040 away. White text reads best on it, at 6.36:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text3.30:1
White text6.36:1

Values

HEX#336C1A
RGBrgb(51, 108, 26)
HSLhsl(102, 61%, 26%)
OKLCHoklch(47.5% 0.128 138)

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 #336C1A 6.36:1 AA Lc -86.5 Fine for body text
Black text on #336C1A 3.30:1 AA large text Lc 22.7 Dividers and decoration only
#336C1A text on white 6.36:1 AA Lc 81.4 Fine for body text
#336C1A text on black 3.30:1 AA large text Lc -20.5 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC9

    oklch(88.5% 0.035 138.6)

  4. Step 300

    300

    #ADCBA4

    oklch(80.9% 0.063 138.5)

  5. Step 400

    400

    #82AF72

    oklch(70.6% 0.099 137.7)

  6. Step 500

    500

    #619B4C

    oklch(63.1% 0.127 138)

  7. Step 600

    600

    #47852D

    oklch(55.5% 0.138 137.8)

  8. Step 700

    700 (this color)

    #336C1A

    oklch(47.5% 0.128 138)

  9. Step 800

    800

    #2F5C1C

    oklch(42.7% 0.106 137.7)

  10. Step 900

    900

    #2A4C1D

    oklch(37.8% 0.084 137.9)

  11. Step 950

    950

    #192C12

    oklch(26.9% 0.052 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#336C1A 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)#70620C0.083
Deuteranopia (no green cones)#685D220.083
Tritanopia (no blue cones)#2F685C0.089
Achromatopsia (no color)#5F5F5F0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #336C1A

    #336C1A

    oklch(47.5% 0.128 138)

  • #79418A

    #79418A

    oklch(47.4% 0.128 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336C1A

    #336C1A

    oklch(47.5% 0.128 138)

  • #626000

    #626000

    oklch(47.5% 0.103 108.3)

  • #006D52

    #006D52

    oklch(47.5% 0.096 168.3)

Open the analogous palette in the generator

Split complementary

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

  • #336C1A

    #336C1A

    oklch(47.5% 0.128 138)

  • #5A4D9F

    #5A4D9F

    oklch(47.5% 0.128 287.8)

  • #8E3969

    #8E3969

    oklch(47.6% 0.128 348.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336C1A

    #336C1A

    oklch(47.5% 0.128 138)

  • #295BA3

    #295BA3

    oklch(47.6% 0.128 257.9)

  • #973740

    #973740

    oklch(47.5% 0.129 17.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336C1A

    #336C1A

    oklch(47.5% 0.128 138)

  • #006685

    #006685

    oklch(47.6% 0.092 227.6)

  • #79418A

    #79418A

    oklch(47.4% 0.128 317.9)

  • #934002

    #934002

    oklch(47.4% 0.128 48)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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