#31875D

Closest named color: Sea Green (#2E8B57). oklch(56% 0.106 158.7), rgb(49, 135, 93).

Aa

Black text reads best on this color (4.75:1).

About this color

#31875D is a medium-dark, moderately saturated green. In OKLCH its lightness is 56%, its chroma 0.106 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.017 away. Black text reads best on it, at 4.75:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.75:1
White text4.41:1

Values

HEX#31875D
RGBrgb(49, 135, 93)
HSLhsl(151, 47%, 36%)
OKLCHoklch(56% 0.106 158.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 #31875D 4.41:1 AA large text Lc -75.8 Fine for body text
Black text on #31875D 4.75:1 AA Lc 33.7 Non-text elements, placeholder text
#31875D text on white 4.41:1 AA large text Lc 70.4 Content text, not long reading
#31875D text on black 4.75:1 AA Lc -31.3 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A8CAB5

    oklch(80.8% 0.047 158.1)

  5. Step 400

    400

    #77AF8F

    oklch(70.6% 0.075 158.7)

  6. Step 500

    500

    #509B73

    oklch(63% 0.097 158.6)

  7. Step 600

    600 (this color)

    #31875D

    oklch(56% 0.106 158.7)

  8. Step 700

    700

    #21714B

    oklch(49% 0.098 158.5)

  9. Step 800

    800

    #1E5C3E

    oklch(42.6% 0.081 158.8)

  10. Step 900

    900

    #1F4C35

    oklch(37.8% 0.064 158.8)

  11. Step 950

    950

    #142C1F

    oklch(26.9% 0.039 158.6)

Export this scale for Tailwind in the Tailwind colors tool

#31875D 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)#867D5A0.099
Deuteranopia (no green cones)#7A75600.095
Tritanopia (no blue cones)#01867C0.048
Achromatopsia (no color)#7878780.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #31875D

    #31875D

    oklch(56% 0.106 158.7)

  • #9C5B89

    #9C5B89

    oklch(56% 0.104 338.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31875D

    #31875D

    oklch(56% 0.106 158.7)

  • #618038

    #618038

    oklch(55.9% 0.106 128.7)

  • #008680

    #008680

    oklch(55.9% 0.097 189.3)

Open the analogous palette in the generator

Split complementary

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

  • #31875D

    #31875D

    oklch(56% 0.106 158.7)

  • #8662A4

    #8662A4

    oklch(55.9% 0.107 308.4)

  • #A85868

    #A85868

    oklch(56% 0.106 8.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31875D

    #31875D

    oklch(56% 0.106 158.7)

  • #676DB1

    #676DB1

    oklch(56% 0.105 278.6)

  • #A85D44

    #A85D44

    oklch(56% 0.105 39.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31875D

    #31875D

    oklch(56% 0.106 158.7)

  • #3D79B0

    #3D79B0

    oklch(56.1% 0.106 248.4)

  • #9C5B89

    #9C5B89

    oklch(56% 0.104 338.7)

  • #9C6824

    #9C6824

    oklch(56% 0.105 69.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31875D 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.