#31996B

Closest named color: Ocean Green (#3D9973). oklch(61.1% 0.118 160.3), rgb(49, 153, 107).

Aa

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

About this color

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

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

Values

HEX#31996B
RGBrgb(49, 153, 107)
HSLhsl(153, 51%, 40%)
OKLCHoklch(61.1% 0.118 160.3)

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 #31996B 3.55:1 AA large text Lc -68.3 Content text, not long reading
Black text on #31996B 5.89:1 AA Lc 41.2 Non-text elements, placeholder text
#31996B text on white 3.55:1 AA large text Lc 62.8 Content text, not long reading
#31996B text on black 5.89:1 AA Lc -38.8 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

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C8E0D2

    oklch(88.5% 0.032 160.1)

  4. Step 300

    300

    #A1CDB4

    oklch(81% 0.058 159.9)

  5. Step 400

    400

    #6AB38D

    oklch(70.8% 0.093 160.1)

  6. Step 500

    500 (this color)

    #31996B

    oklch(61.1% 0.118 160.3)

  7. Step 600

    600

    #00895A

    oklch(55.6% 0.125 160.5)

  8. Step 700

    700

    #00734B

    oklch(49% 0.11 160.6)

  9. Step 800

    800

    #005F3C

    oklch(42.8% 0.097 159.8)

  10. Step 900

    900

    #0F4E33

    oklch(37.8% 0.078 159.9)

  11. Step 950

    950

    #0C2E1E

    oklch(27.1% 0.05 159.8)

Export this scale for Tailwind in the Tailwind colors tool

#31996B 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)#978E680.111
Deuteranopia (no green cones)#89846E0.108
Tritanopia (no blue cones)#00988D0.051
Achromatopsia (no color)#8888880.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #31996B

    #31996B

    oklch(61.1% 0.118 160.3)

  • #B2669A

    #B2669A

    oklch(61.2% 0.118 340)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31996B

    #31996B

    oklch(61.1% 0.118 160.3)

  • #6B9241

    #6B9241

    oklch(61.3% 0.119 130.6)

  • #009792

    #009792

    oklch(61.1% 0.105 190.6)

Open the analogous palette in the generator

Split complementary

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

  • #31996B

    #31996B

    oklch(61.1% 0.118 160.3)

  • #9A6EB8

    #9A6EB8

    oklch(61.2% 0.118 310.6)

  • #BF6373

    #BF6373

    oklch(61.2% 0.118 10.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31996B

    #31996B

    oklch(61.1% 0.118 160.3)

  • #777AC9

    #777AC9

    oklch(61.1% 0.119 280.6)

  • #BE694A

    #BE694A

    oklch(61.1% 0.118 40.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31996B

    #31996B

    oklch(61.1% 0.118 160.3)

  • #4788C8

    #4788C8

    oklch(61.3% 0.118 250)

  • #B2669A

    #B2669A

    oklch(61.2% 0.118 340)

  • #B07624

    #B07624

    oklch(61.2% 0.118 70.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31996B 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.