#315E27

Closest named color: Pine (#2B5D34). oklch(43.6% 0.098 140.1), rgb(49, 94, 39).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.76:1
White text7.60:1

Values

HEX#315E27
RGBrgb(49, 94, 39)
HSLhsl(109, 41%, 26%)
OKLCHoklch(43.6% 0.098 140.1)

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 #315E27 7.60:1 AAA Lc -91.1 Preferred for body text
Black text on #315E27 2.76:1 Fails Lc 17.8 Dividers and decoration only
#315E27 text on white 7.60:1 AAA Lc 86.3 Fine for body text
#315E27 text on black 2.76: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

    #CEDFCB

    oklch(88.5% 0.033 141)

  4. Step 300

    300

    #AECAA7

    oklch(80.9% 0.057 139.4)

  5. Step 400

    400

    #82AF78

    oklch(70.7% 0.092 139.9)

  6. Step 500

    500

    #619B55

    oklch(63.2% 0.118 140.2)

  7. Step 600

    600

    #468539

    oklch(55.6% 0.128 140.3)

  8. Step 700

    700

    #38702B

    oklch(49% 0.118 140)

  9. Step 800

    800 (this color)

    #315E27

    oklch(43.6% 0.098 140.1)

  10. Step 900

    900

    #2A4B23

    oklch(37.6% 0.076 140.2)

  11. Step 950

    950

    #192C15

    oklch(27% 0.048 140.2)

Export this scale for Tailwind in the Tailwind colors tool

#315E27 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)#6156220.069
Deuteranopia (no green cones)#5A522B0.067
Tritanopia (no blue cones)#2D5B520.066
Achromatopsia (no color)#5454540.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #315E27

    #315E27

    oklch(43.6% 0.098 140.1)

  • #693E72

    #693E72

    oklch(43.6% 0.097 320.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315E27

    #315E27

    oklch(43.6% 0.098 140.1)

  • #555500

    #555500

    oklch(43.5% 0.095 109.8)

  • #00604A

    #00604A

    oklch(43.5% 0.086 170.2)

Open the analogous palette in the generator

Split complementary

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

  • #315E27

    #315E27

    oklch(43.6% 0.098 140.1)

  • #514683

    #514683

    oklch(43.5% 0.098 290)

  • #783859

    #783859

    oklch(43.5% 0.098 349.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315E27

    #315E27

    oklch(43.6% 0.098 140.1)

  • #305087

    #305087

    oklch(43.5% 0.099 260.6)

  • #7F383A

    #7F383A

    oklch(43.6% 0.099 20.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315E27

    #315E27

    oklch(43.6% 0.098 140.1)

  • #005978

    #005978

    oklch(43.5% 0.087 230.7)

  • #693E72

    #693E72

    oklch(43.6% 0.097 320.5)

  • #7B3F17

    #7B3F17

    oklch(43.6% 0.098 50.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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