#315A27

Closest named color: Pine (#2B5D34). oklch(42.4% 0.092 139.7), rgb(49, 90, 39).

Aa

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

About this color

#315A27 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.092 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.016 away. White text reads best on it, at 8.00:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.62:1
White text8.00:1

Values

HEX#315A27
RGBrgb(49, 90, 39)
HSLhsl(108, 40%, 25%)
OKLCHoklch(42.4% 0.092 139.7)

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 #315A27 8.00:1 AAA Lc -92.3 Preferred for body text
Black text on #315A27 2.62:1 Fails Lc 16.4 Dividers and decoration only
#315A27 text on white 8.00:1 AAA Lc 87.6 Fine for body text
#315A27 text on black 2.62:1 Fails Lc -14.5 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

    #AFCAA9

    oklch(81% 0.054 140)

  5. Step 400

    400

    #84AE7B

    oklch(70.7% 0.086 140.1)

  6. Step 500

    500

    #659A58

    oklch(63.2% 0.11 139.6)

  7. Step 600

    600

    #4B843D

    oklch(55.7% 0.119 139.7)

  8. Step 700

    700

    #3C6F2F

    oklch(49% 0.11 139.6)

  9. Step 800

    800 (this color)

    #315A27

    oklch(42.4% 0.092 139.7)

  10. Step 900

    900

    #2C4B25

    oklch(37.8% 0.072 139.9)

  11. Step 950

    950

    #1A2C16

    oklch(27% 0.046 140)

Export this scale for Tailwind in the Tailwind colors tool

#315A27 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)#5C53220.062
Deuteranopia (no green cones)#574F2B0.064
Tritanopia (no blue cones)#2E574E0.061
Achromatopsia (no color)#5050500.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #315A27

    #315A27

    oklch(42.4% 0.092 139.7)

  • #643C6D

    #643C6D

    oklch(42.4% 0.092 320.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315A27

    #315A27

    oklch(42.4% 0.092 139.7)

  • #525201

    #525201

    oklch(42.5% 0.092 109.8)

  • #005D47

    #005D47

    oklch(42.5% 0.085 169.6)

Open the analogous palette in the generator

Split complementary

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

  • #315A27

    #315A27

    oklch(42.4% 0.092 139.7)

  • #4E447D

    #4E447D

    oklch(42.4% 0.093 289.9)

  • #723755

    #723755

    oklch(42.3% 0.091 349.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315A27

    #315A27

    oklch(42.4% 0.092 139.7)

  • #2F4E80

    #2F4E80

    oklch(42.5% 0.091 259.5)

  • #783739

    #783739

    oklch(42.4% 0.091 19.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315A27

    #315A27

    oklch(42.4% 0.092 139.7)

  • #005673

    #005673

    oklch(42.4% 0.084 229.7)

  • #643C6D

    #643C6D

    oklch(42.4% 0.092 320.1)

  • #753D1A

    #753D1A

    oklch(42.4% 0.092 49.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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