#336E12

Closest named color: Camouflage Green (#4B6113). oklch(48% 0.136 137.2), rgb(51, 110, 18).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text3.37:1
White text6.21:1

Values

HEX#336E12
RGBrgb(51, 110, 18)
HSLhsl(98, 72%, 25%)
OKLCHoklch(48% 0.136 137.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 #336E12 6.21:1 AA Lc -85.8 Fine for body text
Black text on #336E12 3.37:1 AA large text Lc 23.4 Dividers and decoration only
#336E12 text on white 6.21:1 AA Lc 80.7 Fine for body text
#336E12 text on black 3.37:1 AA large text Lc -21.2 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

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ADCBA2

    oklch(80.9% 0.065 137.3)

  5. Step 400

    400

    #81B06E

    oklch(70.7% 0.105 137)

  6. Step 500

    500

    #609C46

    oklch(63.2% 0.135 137.2)

  7. Step 600

    600

    #458625

    oklch(55.6% 0.146 137.3)

  8. Step 700

    700 (this color)

    #336E12

    oklch(48% 0.136 137.2)

  9. Step 800

    800

    #2E5C16

    oklch(42.6% 0.112 137)

  10. Step 900

    900

    #294C1A

    oklch(37.7% 0.087 137.4)

  11. Step 950

    950

    #192D10

    oklch(27.2% 0.056 136.9)

Export this scale for Tailwind in the Tailwind colors tool

#336E12 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)#7264000.085
Deuteranopia (no green cones)#6A5F1D0.086
Tritanopia (no blue cones)#2F6A5D0.095
Achromatopsia (no color)#6161610.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #336E12

    #336E12

    oklch(48% 0.136 137.2)

  • #7C418F

    #7C418F

    oklch(48.1% 0.135 317.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336E12

    #336E12

    oklch(48% 0.136 137.2)

  • #646100

    #646100

    oklch(48% 0.103 107.6)

  • #006F52

    #006F52

    oklch(48.1% 0.098 167.1)

Open the analogous palette in the generator

Split complementary

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

  • #336E12

    #336E12

    oklch(48% 0.136 137.2)

  • #5B4DA5

    #5B4DA5

    oklch(48% 0.136 287.4)

  • #91376C

    #91376C

    oklch(47.9% 0.136 347)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336E12

    #336E12

    oklch(48% 0.136 137.2)

  • #245CA8

    #245CA8

    oklch(48% 0.135 257.2)

  • #9B3541

    #9B3541

    oklch(47.9% 0.136 17)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336E12

    #336E12

    oklch(48% 0.136 137.2)

  • #006786

    #006786

    oklch(47.9% 0.093 227.4)

  • #7C418F

    #7C418F

    oklch(48.1% 0.135 317.4)

  • #974000

    #974000

    oklch(48.1% 0.132 47.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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