#398A01

Closest named color: Forest Green (#228B22). oklch(56% 0.172 137.7), rgb(57, 138, 1).

Aa

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

About this color

#398A01 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.172 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.016 away. Black text reads best on it, at 4.80:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.172)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.80:1
White text4.36:1

Values

HEX#398A01
RGBrgb(57, 138, 1)
HSLhsl(95, 99%, 27%)
OKLCHoklch(56% 0.172 137.7)

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 #398A01 4.36:1 AA large text Lc -75.3 Fine for body text
Black text on #398A01 4.80:1 AA Lc 34.3 Non-text elements, placeholder text
#398A01 text on white 4.36:1 AA large text Lc 69.8 Content text, not long reading
#398A01 text on black 4.80:1 AA Lc -31.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

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E3EEDF

    oklch(93.7% 0.023 137.2)

  3. Step 200

    200

    #CCE0C5

    oklch(88.4% 0.042 137.5)

  4. Step 300

    300

    #A9CD9C

    oklch(80.9% 0.077 137.5)

  5. Step 400

    400

    #7AB364

    oklch(70.8% 0.125 137.5)

  6. Step 500

    500

    #559F36

    oklch(63.2% 0.158 137.8)

  7. Step 600

    600 (this color)

    #398A01

    oklch(56% 0.172 137.7)

  8. Step 700

    700

    #2E7300

    oklch(49.1% 0.151 137.7)

  9. Step 800

    800

    #245E00

    oklch(42.6% 0.131 137.7)

  10. Step 900

    900

    #234D0E

    oklch(37.6% 0.102 137.4)

  11. Step 950

    950

    #152D0B

    oklch(26.8% 0.064 137.7)

Export this scale for Tailwind in the Tailwind colors tool

#398A01 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)#8F7D000.111
Deuteranopia (no green cones)#85761B0.110
Tritanopia (no blue cones)#3285740.119
Achromatopsia (no color)#7979790.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #398A01

    #398A01

    oklch(56% 0.172 137.7)

  • #9C4DB5

    #9C4DB5

    oklch(56.1% 0.171 317.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398A01

    #398A01

    oklch(56% 0.172 137.7)

  • #7C7900

    #7C7900

    oklch(56% 0.121 108)

  • #008967

    #008967

    oklch(55.9% 0.114 167.7)

Open the analogous palette in the generator

Split complementary

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

  • #398A01

    #398A01

    oklch(56% 0.172 137.7)

  • #725ED2

    #725ED2

    oklch(56.1% 0.172 287.4)

  • #B84087

    #B84087

    oklch(56.1% 0.171 347.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398A01

    #398A01

    oklch(56% 0.172 137.7)

  • #2771D7

    #2771D7

    oklch(56% 0.173 257.7)

  • #C53D4E

    #C53D4E

    oklch(56.1% 0.172 17.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398A01

    #398A01

    oklch(56% 0.172 137.7)

  • #0080A6

    #0080A6

    oklch(56% 0.109 227.6)

  • #9C4DB5

    #9C4DB5

    oklch(56.1% 0.171 317.4)

  • #B95100

    #B95100

    oklch(56% 0.153 47.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #398A01.

Similar named colors

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

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