#336817

Closest named color: Camouflage Green (#4B6113). oklch(46.3% 0.125 137.1), rgb(51, 104, 23).

Aa

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

About this color

#336817 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.125 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.033 away. White text reads best on it, at 6.70:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text3.13:1
White text6.70:1

Values

HEX#336817
RGBrgb(51, 104, 23)
HSLhsl(99, 64%, 25%)
OKLCHoklch(46.3% 0.125 137.1)

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 #336817 6.70:1 AA Lc -87.9 Fine for body text
Black text on #336817 3.13:1 AA large text Lc 21.2 Dividers and decoration only
#336817 text on white 6.70:1 AA Lc 82.8 Fine for body text
#336817 text on black 3.13:1 AA large text Lc -19.1 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

    #CFDFC9

    oklch(88.6% 0.034 137.1)

  4. Step 300

    300

    #AFCAA4

    oklch(80.9% 0.06 136.7)

  5. Step 400

    400

    #84AF73

    oklch(70.8% 0.096 137.1)

  6. Step 500

    500

    #649A4D

    oklch(63% 0.123 137.1)

  7. Step 600

    600

    #4A852E

    oklch(55.7% 0.135 137.1)

  8. Step 700

    700 (this color)

    #336817

    oklch(46.3% 0.125 137.1)

  9. Step 800

    800

    #315B1D

    oklch(42.6% 0.103 137)

  10. Step 900

    900

    #2C4B1E

    oklch(37.7% 0.08 136.9)

  11. Step 950

    950

    #1A2C12

    oklch(27% 0.051 136.8)

Export this scale for Tailwind in the Tailwind colors tool

#336817 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)#6C5F070.079
Deuteranopia (no green cones)#655A1F0.080
Tritanopia (no blue cones)#3064580.087
Achromatopsia (no color)#5C5C5C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #336817

    #336817

    oklch(46.3% 0.125 137.1)

  • #743F86

    #743F86

    oklch(46.3% 0.124 317)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336817

    #336817

    oklch(46.3% 0.125 137.1)

  • #605C00

    #605C00

    oklch(46.4% 0.099 106.8)

  • #00694E

    #00694E

    oklch(46.2% 0.094 167.6)

Open the analogous palette in the generator

Split complementary

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

  • #336817

    #336817

    oklch(46.3% 0.125 137.1)

  • #564B9A

    #564B9A

    oklch(46.4% 0.124 286.9)

  • #883766

    #883766

    oklch(46.3% 0.124 347.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336817

    #336817

    oklch(46.3% 0.125 137.1)

  • #25589D

    #25589D

    oklch(46.3% 0.125 257)

  • #92353F

    #92353F

    oklch(46.4% 0.125 17.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336817

    #336817

    oklch(46.3% 0.125 137.1)

  • #006280

    #006280

    oklch(46.3% 0.09 227.6)

  • #743F86

    #743F86

    oklch(46.3% 0.124 317)

  • #8F3D05

    #8F3D05

    oklch(46.3% 0.126 46.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #336817 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.