#315E23

Closest named color: Pine (#2B5D34). oklch(43.5% 0.102 138.9), rgb(49, 94, 35).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.75:1
White text7.61:1

Values

HEX#315E23
RGBrgb(49, 94, 35)
HSLhsl(106, 46%, 25%)
OKLCHoklch(43.5% 0.102 138.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 #315E23 7.61:1 AAA Lc -91.1 Preferred for body text
Black text on #315E23 2.75:1 Fails Lc 17.7 Dividers and decoration only
#315E23 text on white 7.61:1 AAA Lc 86.3 Fine for body text
#315E23 text on black 2.75:1 Fails Lc -15.8 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFCA

    oklch(88.5% 0.034 139.7)

  4. Step 300

    300

    #AECAA6

    oklch(80.8% 0.058 138.8)

  5. Step 400

    400

    #82AF75

    oklch(70.7% 0.095 138.8)

  6. Step 500

    500

    #619B50

    oklch(63.1% 0.123 138.9)

  7. Step 600

    600

    #478533

    oklch(55.6% 0.132 138.8)

  8. Step 700

    700

    #387125

    oklch(49.2% 0.124 138.8)

  9. Step 800

    800 (this color)

    #315E23

    oklch(43.5% 0.102 138.9)

  10. Step 900

    900

    #2A4B20

    oklch(37.6% 0.079 138.8)

  11. Step 950

    950

    #192C13

    oklch(26.9% 0.051 138.5)

Export this scale for Tailwind in the Tailwind colors tool

#315E23 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)#61561D0.069
Deuteranopia (no green cones)#5B52270.069
Tritanopia (no blue cones)#2E5B510.069
Achromatopsia (no color)#5454540.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #315E23

    #315E23

    oklch(43.5% 0.102 138.9)

  • #693D74

    #693D74

    oklch(43.6% 0.101 319.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315E23

    #315E23

    oklch(43.5% 0.102 138.9)

  • #565500

    #565500

    oklch(43.6% 0.095 109)

  • #006049

    #006049

    oklch(43.5% 0.087 169.3)

Open the analogous palette in the generator

Split complementary

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

  • #315E23

    #315E23

    oklch(43.5% 0.102 138.9)

  • #504685

    #504685

    oklch(43.5% 0.101 288.7)

  • #79375A

    #79375A

    oklch(43.6% 0.102 349.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315E23

    #315E23

    oklch(43.5% 0.102 138.9)

  • #2C5088

    #2C5088

    oklch(43.4% 0.102 258.9)

  • #80363A

    #80363A

    oklch(43.5% 0.103 19.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315E23

    #315E23

    oklch(43.5% 0.102 138.9)

  • #005976

    #005976

    oklch(43.4% 0.085 228.9)

  • #693D74

    #693D74

    oklch(43.6% 0.101 319.4)

  • #7D3D15

    #7D3D15

    oklch(43.6% 0.102 48.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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