#398B01

Closest named color: Forest Green (#228B22). oklch(56.3% 0.173 137.7), rgb(57, 139, 1).

Aa

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

About this color

#398B01 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.173 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.017 away. Black text reads best on it, at 4.86:1.

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

Values

HEX#398B01
RGBrgb(57, 139, 1)
HSLhsl(96, 99%, 27%)
OKLCHoklch(56.3% 0.173 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 #398B01 4.31:1 AA large text Lc -74.9 Content text, not long reading
Black text on #398B01 4.86:1 AA Lc 34.7 Non-text elements, placeholder text
#398B01 text on white 4.31:1 AA large text Lc 69.4 Content text, not long reading
#398B01 text on black 4.86: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

    #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

    #79B364

    oklch(70.8% 0.125 137.8)

  6. Step 500

    500

    #559F35

    oklch(63.2% 0.159 137.7)

  7. Step 600

    600 (this color)

    #398B01

    oklch(56.3% 0.173 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

    #224E0E

    oklch(37.8% 0.104 137.9)

  11. Step 950

    950

    #152E0B

    oklch(27.2% 0.066 137.9)

Export this scale for Tailwind in the Tailwind colors tool

#398B01 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)#907E000.112
Deuteranopia (no green cones)#86771B0.111
Tritanopia (no blue cones)#3286750.120
Achromatopsia (no color)#7A7A7A0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #398B01

    #398B01

    oklch(56.3% 0.173 137.7)

  • #9E4DB6

    #9E4DB6

    oklch(56.4% 0.173 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398B01

    #398B01

    oklch(56.3% 0.173 137.7)

  • #7D7A00

    #7D7A00

    oklch(56.4% 0.122 108)

  • #008A68

    #008A68

    oklch(56.2% 0.114 167.9)

Open the analogous palette in the generator

Split complementary

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

  • #398B01

    #398B01

    oklch(56.3% 0.173 137.7)

  • #735ED3

    #735ED3

    oklch(56.2% 0.173 287.8)

  • #B94087

    #B94087

    oklch(56.3% 0.172 347.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398B01

    #398B01

    oklch(56.3% 0.173 137.7)

  • #2872D8

    #2872D8

    oklch(56.3% 0.172 257.7)

  • #C63D4E

    #C63D4E

    oklch(56.3% 0.173 17.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398B01

    #398B01

    oklch(56.3% 0.173 137.7)

  • #0081A7

    #0081A7

    oklch(56.3% 0.109 227.4)

  • #9E4DB6

    #9E4DB6

    oklch(56.4% 0.173 317.9)

  • #BA5200

    #BA5200

    oklch(56.3% 0.153 47.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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