#31976D

Closest named color: Ocean Green (#3D9973). oklch(60.7% 0.114 162), rgb(49, 151, 109).

Aa

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

About this color

#31976D is a medium-dark, moderately saturated green. In OKLCH its lightness is 61%, its chroma 0.114 and its hue 162°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ocean Green (#3D9973), ΔE 0.013 away. Black text reads best on it, at 5.77:1.

Hue familyGreens
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameOcean Green (#3D9973)
Black text5.77:1
White text3.63:1

Values

HEX#31976D
RGBrgb(49, 151, 109)
HSLhsl(155, 51%, 39%)
OKLCHoklch(60.7% 0.114 162)

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 #31976D 3.63:1 AA large text Lc -69.1 Content text, not long reading
Black text on #31976D 5.77:1 AA Lc 40.5 Non-text elements, placeholder text
#31976D text on white 3.63:1 AA large text Lc 63.6 Content text, not long reading
#31976D text on black 5.77:1 AA Lc -38.1 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 500.

  1. Step 50

    50

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE7

    oklch(93.5% 0.015 164.7)

  3. Step 200

    200

    #C8E0D3

    oklch(88.5% 0.031 162.1)

  4. Step 300

    300

    #A1CCB6

    oklch(80.8% 0.055 162.6)

  5. Step 400

    400

    #6BB290

    oklch(70.7% 0.088 162.2)

  6. Step 500

    500 (this color)

    #31976D

    oklch(60.7% 0.114 162)

  7. Step 600

    600

    #00895D

    oklch(55.7% 0.122 162)

  8. Step 700

    700

    #00734D

    oklch(49.1% 0.108 161.8)

  9. Step 800

    800

    #005E3F

    oklch(42.6% 0.093 162.3)

  10. Step 900

    900

    #104E35

    oklch(37.8% 0.075 161.5)

  11. Step 950

    950

    #0D2D1F

    oklch(26.9% 0.046 161.9)

Export this scale for Tailwind in the Tailwind colors tool

#31976D 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)#958C6B0.110
Deuteranopia (no green cones)#8782700.107
Tritanopia (no blue cones)#00978C0.046
Achromatopsia (no color)#8686860.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #31976D

    #31976D

    oklch(60.7% 0.114 162)

  • #B06595

    #B06595

    oklch(60.6% 0.114 342.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31976D

    #31976D

    oklch(60.7% 0.114 162)

  • #689045

    #689045

    oklch(60.6% 0.113 132.1)

  • #009592

    #009592

    oklch(60.5% 0.104 192.3)

Open the analogous palette in the generator

Split complementary

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

  • #31976D

    #31976D

    oklch(60.7% 0.114 162)

  • #996DB3

    #996DB3

    oklch(60.6% 0.114 312.2)

  • #BC6370

    #BC6370

    oklch(60.7% 0.115 11.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31976D

    #31976D

    oklch(60.7% 0.114 162)

  • #7879C4

    #7879C4

    oklch(60.7% 0.113 281.9)

  • #BA6949

    #BA6949

    oklch(60.6% 0.113 41.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31976D

    #31976D

    oklch(60.7% 0.114 162)

  • #4C85C4

    #4C85C4

    oklch(60.6% 0.114 252.3)

  • #B06595

    #B06595

    oklch(60.6% 0.114 342.1)

  • #AC7627

    #AC7627

    oklch(60.8% 0.114 72.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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