#336A42

Closest named color: Camo Green (#526525). oklch(47.5% 0.087 150.7), rgb(51, 106, 66).

Aa

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

About this color

#336A42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.087 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo Green (#526525), ΔE 0.042 away. White text reads best on it, at 6.40:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameCamo Green (#526525)
Black text3.28:1
White text6.40:1

Values

HEX#336A42
RGBrgb(51, 106, 66)
HSLhsl(136, 35%, 31%)
OKLCHoklch(47.5% 0.087 150.7)

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 #336A42 6.40:1 AA Lc -86.7 Fine for body text
Black text on #336A42 3.28:1 AA large text Lc 22.4 Dividers and decoration only
#336A42 text on white 6.40:1 AA Lc 81.6 Fine for body text
#336A42 text on black 3.28:1 AA large text Lc -20.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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CFDED1

    oklch(88.6% 0.024 149.3)

  4. Step 300

    300

    #AEC9B3

    oklch(81% 0.042 150.7)

  5. Step 400

    400

    #82AD8B

    oklch(70.7% 0.068 150.8)

  6. Step 500

    500

    #61986E

    oklch(63% 0.086 150.8)

  7. Step 600

    600

    #478356

    oklch(55.7% 0.094 150.5)

  8. Step 700

    700 (this color)

    #336A42

    oklch(47.5% 0.087 150.7)

  9. Step 800

    800

    #2F5A3A

    oklch(42.7% 0.072 150.7)

  10. Step 900

    900

    #2A4A32

    oklch(37.7% 0.056 151)

  11. Step 950

    950

    #192B1D

    oklch(26.9% 0.035 150.5)

Export this scale for Tailwind in the Tailwind colors tool

#336A42 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)#6B623F0.075
Deuteranopia (no green cones)#635D440.072
Tritanopia (no blue cones)#2868600.048
Achromatopsia (no color)#5F5F5F0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #336A42

    #336A42

    oklch(47.5% 0.087 150.7)

  • #784973

    #784973

    oklch(47.5% 0.087 330.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #336A42

    #336A42

    oklch(47.5% 0.087 150.7)

  • #556326

    #556326

    oklch(47.4% 0.087 120.7)

  • #006C5F

    #006C5F

    oklch(47.6% 0.086 180.7)

Open the analogous palette in the generator

Split complementary

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

  • #336A42

    #336A42

    oklch(47.5% 0.087 150.7)

  • #655086

    #655086

    oklch(47.6% 0.088 301)

  • #844659

    #844659

    oklch(47.6% 0.087 1.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #336A42

    #336A42

    oklch(47.5% 0.087 150.7)

  • #4A598D

    #4A598D

    oklch(47.5% 0.086 270.6)

  • #86483E

    #86483E

    oklch(47.5% 0.087 30.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #336A42

    #336A42

    oklch(47.5% 0.087 150.7)

  • #276289

    #276289

    oklch(47.6% 0.088 241.1)

  • #784973

    #784973

    oklch(47.5% 0.087 330.7)

  • #7F5023

    #7F5023

    oklch(47.6% 0.087 61.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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