#398A41

Closest named color: Sea Green (#2E8B57). oklch(56.5% 0.134 145.4), rgb(57, 138, 65).

Aa

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

About this color

#398A41 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.134 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.026 away. Black text reads best on it, at 4.88:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.88:1
White text4.29:1

Values

HEX#398A41
RGBrgb(57, 138, 65)
HSLhsl(126, 42%, 38%)
OKLCHoklch(56.5% 0.134 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 #398A41 4.29:1 AA large text Lc -74.9 Content text, not long reading
Black text on #398A41 4.88:1 AA Lc 34.6 Non-text elements, placeholder text
#398A41 text on white 4.29:1 AA large text Lc 69.4 Content text, not long reading
#398A41 text on black 4.88:1 AA Lc -32.2 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

    #CCDFCC

    oklch(88.4% 0.033 145.3)

  4. Step 300

    300

    #A9CCA9

    oklch(81% 0.061 145)

  5. Step 400

    400

    #79B17B

    oklch(70.7% 0.097 145.3)

  6. Step 500

    500

    #549D59

    oklch(63.1% 0.124 145.4)

  7. Step 600

    600 (this color)

    #398A41

    oklch(56.5% 0.134 145.4)

  8. Step 700

    700

    #277230

    oklch(49% 0.124 145.4)

  9. Step 800

    800

    #235D29

    oklch(42.7% 0.102 145.4)

  10. Step 900

    900

    #224D25

    oklch(37.8% 0.082 145.1)

  11. Step 950

    950

    #152D16

    oklch(27% 0.051 144.9)

Export this scale for Tailwind in the Tailwind colors tool

#398A41 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)#8C7E3B0.102
Deuteranopia (no green cones)#8277460.102
Tritanopia (no blue cones)#2987790.081
Achromatopsia (no color)#7A7A7A0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #398A41

    #398A41

    oklch(56.5% 0.134 145.4)

  • #9D57A0

    #9D57A0

    oklch(56.5% 0.134 325.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398A41

    #398A41

    oklch(56.5% 0.134 145.4)

  • #747E00

    #747E00

    oklch(56.5% 0.128 115.2)

  • #008A73

    #008A73

    oklch(56.6% 0.106 175.4)

Open the analogous palette in the generator

Split complementary

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

  • #398A41

    #398A41

    oklch(56.5% 0.134 145.4)

  • #7D63BB

    #7D63BB

    oklch(56.5% 0.134 295.4)

  • #B15079

    #B15079

    oklch(56.6% 0.134 355.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398A41

    #398A41

    oklch(56.5% 0.134 145.4)

  • #4F72C4

    #4F72C4

    oklch(56.6% 0.133 265)

  • #B8514C

    #B8514C

    oklch(56.5% 0.135 25.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398A41

    #398A41

    oklch(56.5% 0.134 145.4)

  • #0080B2

    #0080B2

    oklch(56.6% 0.12 234.9)

  • #9D57A0

    #9D57A0

    oklch(56.5% 0.134 325.7)

  • #B05D10

    #B05D10

    oklch(56.6% 0.134 55.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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