#398F5F

Closest named color: Viridian (#1E9167). oklch(58.5% 0.112 155.9), rgb(57, 143, 95).

Aa

Black text reads best on this color (5.26:1).

About this color

#398F5F is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.112 and its hue 156°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.015 away. Black text reads best on it, at 5.26:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameViridian (#1E9167)
Black text5.26:1
White text3.98:1

Values

HEX#398F5F
RGBrgb(57, 143, 95)
HSLhsl(147, 43%, 39%)
OKLCHoklch(58.5% 0.112 155.9)

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 #398F5F 3.98:1 AA large text Lc -72.4 Content text, not long reading
Black text on #398F5F 5.26:1 AA Lc 37.2 Non-text elements, placeholder text
#398F5F text on white 3.98:1 AA large text Lc 66.9 Content text, not long reading
#398F5F text on black 5.26:1 AA Lc -34.7 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD1

    oklch(88.5% 0.029 155.2)

  4. Step 300

    300

    #A7CBB3

    oklch(80.9% 0.051 155.9)

  5. Step 400

    400

    #77B08C

    oklch(70.8% 0.08 156)

  6. Step 500

    500

    #509C6F

    oklch(63.1% 0.103 155.9)

  7. Step 600

    600 (this color)

    #398F5F

    oklch(58.5% 0.112 155.9)

  8. Step 700

    700

    #207247

    oklch(49.2% 0.104 155.9)

  9. Step 800

    800

    #1E5D3A

    oklch(42.8% 0.087 155.4)

  10. Step 900

    900

    #1F4C32

    oklch(37.7% 0.067 155.8)

  11. Step 950

    950

    #132D1E

    oklch(27.1% 0.043 156.6)

Export this scale for Tailwind in the Tailwind colors tool

#398F5F 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)#8E845C0.101
Deuteranopia (no green cones)#837C620.099
Tritanopia (no blue cones)#198E820.053
Achromatopsia (no color)#7F7F7F0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #398F5F

    #398F5F

    oklch(58.5% 0.112 155.9)

  • #A46195

    #A46195

    oklch(58.5% 0.111 335.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398F5F

    #398F5F

    oklch(58.5% 0.112 155.9)

  • #6B8738

    #6B8738

    oklch(58.4% 0.111 126)

  • #008F85

    #008F85

    oklch(58.5% 0.103 186.2)

Open the analogous palette in the generator

Split complementary

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

  • #398F5F

    #398F5F

    oklch(58.5% 0.112 155.9)

  • #8C69B0

    #8C69B0

    oklch(58.4% 0.112 305.9)

  • #B25D72

    #B25D72

    oklch(58.4% 0.112 5.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398F5F

    #398F5F

    oklch(58.5% 0.112 155.9)

  • #6A75BD

    #6A75BD

    oklch(58.5% 0.111 275.8)

  • #B3624C

    #B3624C

    oklch(58.5% 0.11 36.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398F5F

    #398F5F

    oklch(58.5% 0.112 155.9)

  • #3C81BA

    #3C81BA

    oklch(58.5% 0.112 246.3)

  • #A46195

    #A46195

    oklch(58.5% 0.111 335.6)

  • #A86D28

    #A86D28

    oklch(58.5% 0.111 66.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #398F5F 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.