#407F38

Closest named color: Jungle Green (#048243). oklch(53.7% 0.123 141.5), rgb(64, 127, 56).

Aa

White text reads best on this color (4.87:1).

About this color

#407F38 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.123 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jungle Green (#048243), ΔE 0.029 away. White text reads best on it, at 4.87:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameJungle Green (#048243)
Black text4.31:1
White text4.87:1

Values

HEX#407F38
RGBrgb(64, 127, 56)
HSLhsl(113, 39%, 36%)
OKLCHoklch(53.7% 0.123 141.5)

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 #407F38 4.87:1 AA Lc -79.0 Fine for body text
Black text on #407F38 4.31:1 AA large text Lc 30.5 Non-text elements, placeholder text
#407F38 text on white 4.87:1 AA Lc 73.6 Content text, not long reading
#407F38 text on black 4.31:1 AA large text Lc -28.1 Dividers and decoration only

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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDFCC

    oklch(88.6% 0.031 142.3)

  4. Step 300

    300

    #ADCAA9

    oklch(80.8% 0.055 141.7)

  5. Step 400

    400

    #81AF7B

    oklch(70.7% 0.089 141.7)

  6. Step 500

    500

    #609A59

    oklch(63% 0.112 141.7)

  7. Step 600

    600 (this color)

    #407F38

    oklch(53.7% 0.123 141.5)

  8. Step 700

    700

    #37702F

    oklch(49% 0.114 141.3)

  9. Step 800

    800

    #2E5B28

    oklch(42.6% 0.094 141.4)

  10. Step 900

    900

    #2A4B25

    oklch(37.7% 0.073 141.1)

  11. Step 950

    950

    #192C16

    oklch(27% 0.047 141.1)

Export this scale for Tailwind in the Tailwind colors tool

#407F38 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)#8275310.087
Deuteranopia (no green cones)#796F3D0.086
Tritanopia (no blue cones)#397B6F0.081
Achromatopsia (no color)#7171710.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #407F38

    #407F38

    oklch(53.7% 0.123 141.5)

  • #8E5398

    #8E5398

    oklch(53.7% 0.123 321.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407F38

    #407F38

    oklch(53.7% 0.123 141.5)

  • #717400

    #717400

    oklch(53.8% 0.119 111.6)

  • #008166

    #008166

    oklch(53.7% 0.105 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #407F38

    #407F38

    oklch(53.7% 0.123 141.5)

  • #705FAF

    #705FAF

    oklch(53.8% 0.123 291.5)

  • #A24C76

    #A24C76

    oklch(53.7% 0.124 351.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407F38

    #407F38

    oklch(53.7% 0.123 141.5)

  • #446CB5

    #446CB5

    oklch(53.8% 0.123 261.5)

  • #AA4C4D

    #AA4C4D

    oklch(53.7% 0.124 21.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407F38

    #407F38

    oklch(53.7% 0.123 141.5)

  • #0078A1

    #0078A1

    oklch(53.7% 0.108 231.1)

  • #8E5398

    #8E5398

    oklch(53.7% 0.123 321.6)

  • #A4561E

    #A4561E

    oklch(53.8% 0.122 51.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #407F38 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.