#315B2A

Closest named color: Pine (#2B5D34). oklch(42.8% 0.09 140.9), rgb(49, 91, 42).

Aa

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

About this color

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

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

Values

HEX#315B2A
RGBrgb(49, 91, 42)
HSLhsl(111, 37%, 26%)
OKLCHoklch(42.8% 0.09 140.9)

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 #315B2A 7.89:1 AAA Lc -91.9 Preferred for body text
Black text on #315B2A 2.66:1 Fails Lc 16.8 Dividers and decoration only
#315B2A text on white 7.89:1 AAA Lc 87.2 Fine for body text
#315B2A 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5EDE3

    oklch(93.7% 0.016 139.4)

  3. Step 200

    200

    #CFDECC

    oklch(88.4% 0.029 140.5)

  4. Step 300

    300

    #AFCAAA

    oklch(81% 0.053 140.7)

  5. Step 400

    400

    #84AE7C

    oklch(70.7% 0.084 140.5)

  6. Step 500

    500

    #649A5B

    oklch(63.2% 0.108 140.9)

  7. Step 600

    600

    #4A8440

    oklch(55.7% 0.117 140.8)

  8. Step 700

    700

    #3A6F32

    oklch(49% 0.108 141.1)

  9. Step 800

    800 (this color)

    #315B2A

    oklch(42.8% 0.09 140.9)

  10. Step 900

    900

    #2C4B26

    oklch(37.8% 0.071 140.4)

  11. Step 950

    950

    #1A2C17

    oklch(27.1% 0.045 140.9)

Export this scale for Tailwind in the Tailwind colors tool

#315B2A 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)#5D54260.063
Deuteranopia (no green cones)#57502D0.063
Tritanopia (no blue cones)#2D58500.061
Achromatopsia (no color)#5151510.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #315B2A

    #315B2A

    oklch(42.8% 0.09 140.9)

  • #653D6D

    #653D6D

    oklch(42.7% 0.091 320.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315B2A

    #315B2A

    oklch(42.8% 0.09 140.9)

  • #525307

    #525307

    oklch(42.7% 0.09 110.5)

  • #005E49

    #005E49

    oklch(42.9% 0.084 170.8)

Open the analogous palette in the generator

Split complementary

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

  • #315B2A

    #315B2A

    oklch(42.8% 0.09 140.9)

  • #50457C

    #50457C

    oklch(42.7% 0.09 291.3)

  • #733855

    #733855

    oklch(42.6% 0.091 350.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315B2A

    #315B2A

    oklch(42.8% 0.09 140.9)

  • #324E80

    #324E80

    oklch(42.7% 0.09 261.2)

  • #793939

    #793939

    oklch(42.8% 0.09 21.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315B2A

    #315B2A

    oklch(42.8% 0.09 140.9)

  • #005775

    #005775

    oklch(42.8% 0.086 230.3)

  • #653D6D

    #653D6D

    oklch(42.7% 0.091 320.8)

  • #753F1B

    #753F1B

    oklch(42.8% 0.09 51.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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