#315842

Closest named color: Pine (#2B5D34). oklch(42.4% 0.058 158), rgb(49, 88, 66).

Aa

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

About this color

#315842 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.058 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.032 away. White text reads best on it, at 8.06:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.058)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.60:1
White text8.06:1

Values

HEX#315842
RGBrgb(49, 88, 66)
HSLhsl(146, 28%, 27%)
OKLCHoklch(42.4% 0.058 158)

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 #315842 8.06:1 AAA Lc -92.5 Preferred for body text
Black text on #315842 2.60:1 Fails Lc 16.2 Dividers and decoration only
#315842 text on white 8.06:1 AAA Lc 87.8 Fine for body text
#315842 text on black 2.60:1 Fails Lc -14.3 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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #CFDDD4

    oklch(88.4% 0.019 157.8)

  4. Step 300

    300

    #AFC8B8

    oklch(80.9% 0.035 157.5)

  5. Step 400

    400

    #85AB94

    oklch(70.7% 0.053 158.1)

  6. Step 500

    500

    #659779

    oklch(63.2% 0.07 157.3)

  7. Step 600

    600

    #4B8162

    oklch(55.6% 0.076 157.6)

  8. Step 700

    700

    #3C6D51

    oklch(49.2% 0.07 157.4)

  9. Step 800

    800 (this color)

    #315842

    oklch(42.4% 0.058 158)

  10. Step 900

    900

    #2C4938

    oklch(37.7% 0.046 157.6)

  11. Step 950

    950

    #1A2B21

    oklch(27% 0.029 157.9)

Export this scale for Tailwind in the Tailwind colors tool

#315842 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)#5753410.053
Deuteranopia (no green cones)#514E430.053
Tritanopia (no blue cones)#2858520.026
Achromatopsia (no color)#5050500.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #315842

    #315842

    oklch(42.4% 0.058 158)

  • #634259

    #634259

    oklch(42.5% 0.057 338.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315842

    #315842

    oklch(42.4% 0.058 158)

  • #455431

    #455431

    oklch(42.3% 0.058 127.6)

  • #215954

    #215954

    oklch(42.6% 0.059 187.1)

Open the analogous palette in the generator

Split complementary

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

  • #315842

    #315842

    oklch(42.4% 0.058 158)

  • #574667

    #574667

    oklch(42.5% 0.057 307.6)

  • #6A4148

    #6A4148

    oklch(42.5% 0.058 8.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315842

    #315842

    oklch(42.4% 0.058 158)

  • #474B6E

    #474B6E

    oklch(42.4% 0.058 278.6)

  • #6A4337

    #6A4337

    oklch(42.5% 0.058 37.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315842

    #315842

    oklch(42.4% 0.058 158)

  • #34516D

    #34516D

    oklch(42.5% 0.058 248.5)

  • #634259

    #634259

    oklch(42.5% 0.057 338.4)

  • #63482A

    #63482A

    oklch(42.4% 0.058 68.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315842 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.