#315E40

Closest named color: Pine (#2B5D34). oklch(44.1% 0.071 153.3), rgb(49, 94, 64).

Aa

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

About this color

#315E40 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.071 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.019 away. White text reads best on it, at 7.48:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.80:1
White text7.48:1

Values

HEX#315E40
RGBrgb(49, 94, 64)
HSLhsl(140, 31%, 28%)
OKLCHoklch(44.1% 0.071 153.3)

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 #315E40 7.48:1 AAA Lc -90.7 Preferred for body text
Black text on #315E40 2.80:1 Fails Lc 18.1 Dividers and decoration only
#315E40 text on white 7.48:1 AAA Lc 85.9 Fine for body text
#315E40 text on black 2.80:1 Fails Lc -16.2 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 800.

  1. Step 50

    50

    #F3F7F4

    oklch(97.2% 0.006 153.8)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED2

    oklch(88.5% 0.024 153.4)

  4. Step 300

    300

    #ADC9B4

    oklch(80.9% 0.042 153)

  5. Step 400

    400

    #81AD8D

    oklch(70.7% 0.066 152.9)

  6. Step 500

    500

    #609971

    oklch(63.2% 0.085 152.9)

  7. Step 600

    600

    #45835A

    oklch(55.7% 0.091 153.4)

  8. Step 700

    700

    #366F49

    oklch(49.2% 0.086 152.9)

  9. Step 800

    800 (this color)

    #315E40

    oklch(44.1% 0.071 153.3)

  10. Step 900

    900

    #294A34

    oklch(37.7% 0.054 153.8)

  11. Step 950

    950

    #192B1E

    oklch(26.9% 0.034 152.4)

Export this scale for Tailwind in the Tailwind colors tool

#315E40 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)#5E583E0.062
Deuteranopia (no green cones)#5753420.060
Tritanopia (no blue cones)#285D560.036
Achromatopsia (no color)#5555550.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #315E40

    #315E40

    oklch(44.1% 0.071 153.3)

  • #6A4363

    #6A4363

    oklch(43.9% 0.071 333.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315E40

    #315E40

    oklch(44.1% 0.071 153.3)

  • #4B592B

    #4B592B

    oklch(44% 0.071 123.2)

  • #165F57

    #165F57

    oklch(44% 0.07 184.2)

Open the analogous palette in the generator

Split complementary

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

  • #315E40

    #315E40

    oklch(44.1% 0.071 153.3)

  • #5B4973

    #5B4973

    oklch(44.2% 0.071 303.3)

  • #73414F

    #73414F

    oklch(44% 0.071 2.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315E40

    #315E40

    oklch(44.1% 0.071 153.3)

  • #46507A

    #46507A

    oklch(44.2% 0.07 273)

  • #754439

    #754439

    oklch(44.2% 0.071 33.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315E40

    #315E40

    oklch(44.1% 0.071 153.3)

  • #2D5777

    #2D5777

    oklch(44.1% 0.071 243.4)

  • #6A4363

    #6A4363

    oklch(43.9% 0.071 333.4)

  • #6E4A26

    #6E4A26

    oklch(44.1% 0.071 64.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315E40 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.