#315F40

Closest named color: Pine (#2B5D34). oklch(44.3% 0.072 153), rgb(49, 95, 64).

Aa

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

About this color

#315F40 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.072 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.39:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.84:1
White text7.39:1

Values

HEX#315F40
RGBrgb(49, 95, 64)
HSLhsl(140, 32%, 28%)
OKLCHoklch(44.3% 0.072 153)

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 #315F40 7.39:1 AAA Lc -90.4 Preferred for body text
Black text on #315F40 2.84:1 Fails Lc 18.5 Dividers and decoration only
#315F40 text on white 7.39:1 AAA Lc 85.5 Fine for body text
#315F40 text on black 2.84:1 Fails Lc -16.5 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

    #80AD8D

    oklch(70.6% 0.067 153.5)

  6. Step 500

    500

    #5F9970

    oklch(63.1% 0.087 152.6)

  7. Step 600

    600

    #438359

    oklch(55.5% 0.093 153.4)

  8. Step 700

    700

    #356F48

    oklch(49.1% 0.088 152.6)

  9. Step 800

    800 (this color)

    #315F40

    oklch(44.3% 0.072 153)

  10. Step 900

    900

    #294A33

    oklch(37.6% 0.056 152.7)

  11. Step 950

    950

    #182C1E

    oklch(27.1% 0.037 152.9)

Export this scale for Tailwind in the Tailwind colors tool

#315F40 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)#5F583E0.064
Deuteranopia (no green cones)#5854420.061
Tritanopia (no blue cones)#275E570.038
Achromatopsia (no color)#5656560.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #315F40

    #315F40

    oklch(44.3% 0.072 153)

  • #6B4465

    #6B4465

    oklch(44.3% 0.072 332.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315F40

    #315F40

    oklch(44.3% 0.072 153)

  • #4C5A2B

    #4C5A2B

    oklch(44.4% 0.072 123)

  • #146057

    #146057

    oklch(44.3% 0.072 183.2)

Open the analogous palette in the generator

Split complementary

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

  • #315F40

    #315F40

    oklch(44.3% 0.072 153)

  • #5B4974

    #5B4974

    oklch(44.2% 0.072 302.8)

  • #74424F

    #74424F

    oklch(44.3% 0.071 3.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315F40

    #315F40

    oklch(44.3% 0.072 153)

  • #46507C

    #46507C

    oklch(44.3% 0.074 273.3)

  • #764439

    #764439

    oklch(44.4% 0.072 33.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315F40

    #315F40

    oklch(44.3% 0.072 153)

  • #2C5878

    #2C5878

    oklch(44.4% 0.072 242.3)

  • #6B4465

    #6B4465

    oklch(44.3% 0.072 332.4)

  • #704A26

    #704A26

    oklch(44.4% 0.073 62.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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