#398E42

Closest named color: Fern Green (#548D44). oklch(57.6% 0.139 145.4), rgb(57, 142, 66).

Aa

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

About this color

#398E42 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.139 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.025 away. Black text reads best on it, at 5.12:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameFern Green (#548D44)
Black text5.12:1
White text4.10:1

Values

HEX#398E42
RGBrgb(57, 142, 66)
HSLhsl(126, 43%, 39%)
OKLCHoklch(57.6% 0.139 145.4)

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 #398E42 4.10:1 AA large text Lc -73.3 Content text, not long reading
Black text on #398E42 5.12:1 AA Lc 36.2 Non-text elements, placeholder text
#398E42 text on white 4.10:1 AA large text Lc 67.8 Content text, not long reading
#398E42 text on black 5.12:1 AA Lc -33.8 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CBE0CC

    oklch(88.6% 0.035 146.6)

  4. Step 300

    300

    #A8CCA9

    oklch(80.9% 0.062 145.7)

  5. Step 400

    400

    #78B17A

    oklch(70.6% 0.099 145.3)

  6. Step 500

    500

    #529D57

    oklch(63% 0.127 145.2)

  7. Step 600

    600 (this color)

    #398E42

    oklch(57.6% 0.139 145.4)

  8. Step 700

    700

    #24732E

    oklch(49.1% 0.129 145.4)

  9. Step 800

    800

    #205E27

    oklch(42.8% 0.107 145.4)

  10. Step 900

    900

    #204D24

    oklch(37.7% 0.084 145.4)

  11. Step 950

    950

    #142D16

    oklch(27% 0.052 145.6)

Export this scale for Tailwind in the Tailwind colors tool

#398E42 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)#90823B0.105
Deuteranopia (no green cones)#857A480.106
Tritanopia (no blue cones)#288B7D0.084
Achromatopsia (no color)#7D7D7D0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #398E42

    #398E42

    oklch(57.6% 0.139 145.4)

  • #A259A5

    #A259A5

    oklch(57.7% 0.138 325.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398E42

    #398E42

    oklch(57.6% 0.139 145.4)

  • #778200

    #778200

    oklch(57.8% 0.131 115.6)

  • #008E76

    #008E76

    oklch(57.7% 0.109 175.1)

Open the analogous palette in the generator

Split complementary

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

  • #398E42

    #398E42

    oklch(57.6% 0.139 145.4)

  • #8165C1

    #8165C1

    oklch(57.6% 0.139 295.8)

  • #B6517D

    #B6517D

    oklch(57.6% 0.139 355.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398E42

    #398E42

    oklch(57.6% 0.139 145.4)

  • #5175CB

    #5175CB

    oklch(57.7% 0.139 265.2)

  • #BD534D

    #BD534D

    oklch(57.6% 0.138 25.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398E42

    #398E42

    oklch(57.6% 0.139 145.4)

  • #0083B7

    #0083B7

    oklch(57.6% 0.123 235.3)

  • #A259A5

    #A259A5

    oklch(57.7% 0.138 325.7)

  • #B55F0A

    #B55F0A

    oklch(57.6% 0.138 55.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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