#335126

Closest named color: Navy Green (#35530A). oklch(40% 0.077 137), rgb(51, 81, 38).

Aa

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

About this color

#335126 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.077 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.028 away. White text reads best on it, at 8.95:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.34:1
White text8.95:1

Values

HEX#335126
RGBrgb(51, 81, 38)
HSLhsl(102, 36%, 23%)
OKLCHoklch(40% 0.077 137)

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 #335126 8.95:1 AAA Lc -94.9 Preferred for body text
Black text on #335126 2.34:1 Fails Lc 13.5 Not readable
#335126 text on white 8.95:1 AAA Lc 90.4 Preferred for body text
#335126 text on black 2.34:1 Fails Lc -11.9 Not readable

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

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5EDE2

    oklch(93.7% 0.017 137)

  3. Step 200

    200

    #D0DECA

    oklch(88.5% 0.031 136.2)

  4. Step 300

    300

    #B0CAA5

    oklch(81% 0.058 136.4)

  5. Step 400

    400

    #85AE75

    oklch(70.6% 0.092 137.2)

  6. Step 500

    500

    #669A50

    oklch(63.2% 0.118 137)

  7. Step 600

    600

    #4D8433

    oklch(55.7% 0.128 136.9)

  8. Step 700

    700

    #3D6F25

    oklch(48.9% 0.119 137)

  9. Step 800

    800

    #335B20

    oklch(42.7% 0.099 136.9)

  10. Step 900

    900 (this color)

    #335126

    oklch(40% 0.077 137)

  11. Step 950

    950

    #1B2C13

    oklch(27.1% 0.049 136.4)

Export this scale for Tailwind in the Tailwind colors tool

#335126 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)#544B220.051
Deuteranopia (no green cones)#4F48290.050
Tritanopia (no blue cones)#324E470.054
Achromatopsia (no color)#4949490.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #335126

    #335126

    oklch(40% 0.077 137)

  • #583A63

    #583A63

    oklch(40% 0.076 316.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #335126

    #335126

    oklch(40% 0.077 137)

  • #4D4A0F

    #4D4A0F

    oklch(40% 0.077 106.4)

  • #0D543F

    #0D543F

    oklch(39.8% 0.076 167.6)

Open the analogous palette in the generator

Split complementary

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

  • #335126

    #335126

    oklch(40% 0.077 137)

  • #45406F

    #45406F

    oklch(39.9% 0.078 287.2)

  • #653550

    #653550

    oklch(39.9% 0.078 346.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #335126

    #335126

    oklch(40% 0.077 137)

  • #2B4870

    #2B4870

    oklch(39.9% 0.077 256.7)

  • #6B3539

    #6B3539

    oklch(40% 0.077 16.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #335126

    #335126

    oklch(40% 0.077 137)

  • #014F67

    #014F67

    oklch(39.9% 0.076 226.8)

  • #583A63

    #583A63

    oklch(40% 0.076 316.6)

  • #693921

    #693921

    oklch(39.9% 0.077 46.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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