#315B2F

Closest named color: Pine (#2B5D34). oklch(42.8% 0.085 143), rgb(49, 91, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.66:1
White text7.87:1

Values

HEX#315B2F
RGBrgb(49, 91, 47)
HSLhsl(117, 32%, 27%)
OKLCHoklch(42.8% 0.085 143)

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 #315B2F 7.87:1 AAA Lc -91.9 Preferred for body text
Black text on #315B2F 2.66:1 Fails Lc 16.8 Dividers and decoration only
#315B2F text on white 7.87:1 AAA Lc 87.2 Fine for body text
#315B2F text on black 2.66:1 Fails Lc -14.9 Not readable

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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E5ECE4

    oklch(93.6% 0.013 141.8)

  3. Step 200

    200

    #CFDECE

    oklch(88.5% 0.027 143.6)

  4. Step 300

    300

    #AFC9AC

    oklch(80.8% 0.049 142.3)

  5. Step 400

    400

    #84AE80

    oklch(70.8% 0.08 142.5)

  6. Step 500

    500

    #639960

    oklch(63% 0.101 143.1)

  7. Step 600

    600

    #498346

    oklch(55.5% 0.11 142.9)

  8. Step 700

    700

    #3A6F38

    oklch(49% 0.102 143.1)

  9. Step 800

    800 (this color)

    #315B2F

    oklch(42.8% 0.085 143)

  10. Step 900

    900

    #2B4A2A

    oklch(37.5% 0.065 143.5)

  11. Step 950

    950

    #1A2C19

    oklch(27.1% 0.042 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#315B2F 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)#5D542C0.063
Deuteranopia (no green cones)#5750320.063
Tritanopia (no blue cones)#2C59500.052
Achromatopsia (no color)#5252520.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #315B2F

    #315B2F

    oklch(42.8% 0.085 143)

  • #653E6A

    #653E6A

    oklch(42.7% 0.085 322.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315B2F

    #315B2F

    oklch(42.8% 0.085 143)

  • #505413

    #505413

    oklch(42.9% 0.085 113)

  • #005E4B

    #005E4B

    oklch(43% 0.083 172.7)

Open the analogous palette in the generator

Split complementary

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

  • #315B2F

    #315B2F

    oklch(42.8% 0.085 143)

  • #514679

    #514679

    oklch(42.9% 0.083 292.4)

  • #723A53

    #723A53

    oklch(42.8% 0.085 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315B2F

    #315B2F

    oklch(42.8% 0.085 143)

  • #364E7E

    #364E7E

    oklch(42.8% 0.085 263.1)

  • #773B39

    #773B39

    oklch(42.9% 0.084 23.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315B2F

    #315B2F

    oklch(42.8% 0.085 143)

  • #0A5676

    #0A5676

    oklch(42.7% 0.085 233.5)

  • #653E6A

    #653E6A

    oklch(42.7% 0.085 322.8)

  • #73411E

    #73411E

    oklch(42.9% 0.085 53.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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