#315D45

Closest named color: Pine (#2B5D34). oklch(43.9% 0.064 158.4), rgb(49, 93, 69).

Aa

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

About this color

#315D45 is a dark, muted green. In OKLCH its lightness is 44%, its chroma 0.064 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.027 away. White text reads best on it, at 7.54:1.

Hue familyGreens
Lightnessdark (44%)
Chromamuted (0.064)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.78:1
White text7.54:1

Values

HEX#315D45
RGBrgb(49, 93, 69)
HSLhsl(147, 31%, 28%)
OKLCHoklch(43.9% 0.064 158.4)

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 #315D45 7.54:1 AAA Lc -90.9 Preferred for body text
Black text on #315D45 2.78:1 Fails Lc 17.9 Dividers and decoration only
#315D45 text on white 7.54:1 AAA Lc 86.1 Fine for body text
#315D45 text on black 2.78:1 Fails Lc -15.9 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE7

    oklch(93.6% 0.011 158.8)

  3. Step 200

    200

    #CEDDD4

    oklch(88.4% 0.02 159.7)

  4. Step 300

    300

    #ADC8B8

    oklch(80.8% 0.037 159.5)

  5. Step 400

    400

    #81AC93

    oklch(70.6% 0.059 158.9)

  6. Step 500

    500

    #609878

    oklch(63.1% 0.077 158.2)

  7. Step 600

    600

    #458261

    oklch(55.6% 0.083 158.5)

  8. Step 700

    700

    #366E50

    oklch(49.1% 0.077 158.3)

  9. Step 800

    800 (this color)

    #315D45

    oklch(43.9% 0.064 158.4)

  10. Step 900

    900

    #294A38

    oklch(37.8% 0.05 158.9)

  11. Step 950

    950

    #192B21

    oklch(27% 0.03 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#315D45 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)#5C57440.059
Deuteranopia (no green cones)#5552460.057
Tritanopia (no blue cones)#265D560.028
Achromatopsia (no color)#5454540.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #315D45

    #315D45

    oklch(43.9% 0.064 158.4)

  • #69445E

    #69445E

    oklch(43.8% 0.064 338.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315D45

    #315D45

    oklch(43.9% 0.064 158.4)

  • #485932

    #485932

    oklch(43.9% 0.064 128)

  • #1E5D59

    #1E5D59

    oklch(43.8% 0.063 189.2)

Open the analogous palette in the generator

Split complementary

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

  • #315D45

    #315D45

    oklch(43.9% 0.064 158.4)

  • #5C496D

    #5C496D

    oklch(44% 0.062 308.1)

  • #70434B

    #70434B

    oklch(43.8% 0.063 8.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315D45

    #315D45

    oklch(43.9% 0.064 158.4)

  • #4A4F75

    #4A4F75

    oklch(44% 0.063 277.7)

  • #714638

    #714638

    oklch(44% 0.064 38.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315D45

    #315D45

    oklch(43.9% 0.064 158.4)

  • #355574

    #355574

    oklch(43.9% 0.064 248.7)

  • #69445E

    #69445E

    oklch(43.8% 0.064 338.3)

  • #694B29

    #694B29

    oklch(43.8% 0.064 68.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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