#337238

Closest named color: Dark Olive Green (#556B2F). oklch(49.6% 0.111 145.2), rgb(51, 114, 56).

Aa

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

About this color

#337238 is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.111 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.039 away. White text reads best on it, at 5.82:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.60:1
White text5.82:1

Values

HEX#337238
RGBrgb(51, 114, 56)
HSLhsl(125, 38%, 32%)
OKLCHoklch(49.6% 0.111 145.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 #337238 5.82:1 AA Lc -84.2 Fine for body text
Black text on #337238 3.60:1 AA large text Lc 25.2 Dividers and decoration only
#337238 text on white 5.82:1 AA Lc 78.9 Fine for body text
#337238 text on black 3.60:1 AA large text Lc -22.9 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CEDFCD

    oklch(88.6% 0.03 143.8)

  4. Step 300

    300

    #ACCAAC

    oklch(80.9% 0.053 145.1)

  5. Step 400

    400

    #7FAF80

    oklch(70.7% 0.085 145.1)

  6. Step 500

    500

    #5C9B5F

    oklch(63.1% 0.11 145.2)

  7. Step 600

    600

    #408545

    oklch(55.5% 0.119 145.2)

  8. Step 700

    700 (this color)

    #337238

    oklch(49.6% 0.111 145.2)

  9. Step 800

    800

    #2A5C2E

    oklch(42.7% 0.092 145.3)

  10. Step 900

    900

    #274B29

    oklch(37.6% 0.071 145.2)

  11. Step 950

    950

    #172C18

    oklch(26.9% 0.045 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#337238 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)#7469330.084
Deuteranopia (no green cones)#6B633C0.083
Tritanopia (no blue cones)#286F640.067
Achromatopsia (no color)#6565650.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #337238

    #337238

    oklch(49.6% 0.111 145.2)

  • #814A84

    #814A84

    oklch(49.6% 0.11 325.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #337238

    #337238

    oklch(49.6% 0.111 145.2)

  • #606905

    #606905

    oklch(49.6% 0.111 115.5)

  • #00735F

    #00735F

    oklch(49.6% 0.094 175)

Open the analogous palette in the generator

Split complementary

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

  • #337238

    #337238

    oklch(49.6% 0.111 145.2)

  • #67539A

    #67539A

    oklch(49.5% 0.112 295)

  • #914465

    #914465

    oklch(49.5% 0.111 354.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #337238

    #337238

    oklch(49.6% 0.111 145.2)

  • #435FA1

    #435FA1

    oklch(49.6% 0.111 265.3)

  • #974541

    #974541

    oklch(49.5% 0.111 24.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #337238

    #337238

    oklch(49.6% 0.111 145.2)

  • #006A95

    #006A95

    oklch(49.5% 0.106 235.3)

  • #814A84

    #814A84

    oklch(49.6% 0.11 325.2)

  • #914E17

    #914E17

    oklch(49.6% 0.111 54.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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