#31785A

Closest named color: Dark Aquamarine (#017371). oklch(51.9% 0.086 162.9), rgb(49, 120, 90).

Aa

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

About this color

#31785A is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.086 and its hue 163°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Aquamarine (#017371), ΔE 0.047 away. White text reads best on it, at 5.29:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameDark Aquamarine (#017371)
Black text3.96:1
White text5.29:1

Values

HEX#31785A
RGBrgb(49, 120, 90)
HSLhsl(155, 42%, 33%)
OKLCHoklch(51.9% 0.086 162.9)

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 #31785A 5.29:1 AA Lc -81.5 Fine for body text
Black text on #31785A 3.96:1 AA large text Lc 28.0 Dividers and decoration only
#31785A text on white 5.29:1 AA Lc 76.1 Fine for body text
#31785A text on black 3.96:1 AA large text Lc -25.6 Dividers and decoration only

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

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3ECE7

    oklch(93.5% 0.012 162)

  3. Step 200

    200

    #CCDED5

    oklch(88.5% 0.023 164.5)

  4. Step 300

    300

    #A9CAB9

    oklch(81% 0.043 162.9)

  5. Step 400

    400

    #7AAE95

    oklch(70.7% 0.066 163.3)

  6. Step 500

    500

    #559A7A

    oklch(63.1% 0.086 162.5)

  7. Step 600

    600

    #368463

    oklch(55.5% 0.093 162.8)

  8. Step 700

    700 (this color)

    #31785A

    oklch(51.9% 0.086 162.9)

  9. Step 800

    800

    #235B43

    oklch(42.6% 0.072 162.5)

  10. Step 900

    900

    #224B39

    oklch(37.7% 0.056 163.1)

  11. Step 950

    950

    #152C21

    oklch(27% 0.036 161.9)

Export this scale for Tailwind in the Tailwind colors tool

#31785A 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)#7670580.084
Deuteranopia (no green cones)#6C685C0.082
Tritanopia (no blue cones)#1278700.035
Achromatopsia (no color)#6B6B6B0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #31785A

    #31785A

    oklch(51.9% 0.086 162.9)

  • #8B5476

    #8B5476

    oklch(51.9% 0.086 342.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31785A

    #31785A

    oklch(51.9% 0.086 162.9)

  • #55733E

    #55733E

    oklch(51.9% 0.086 132.8)

  • #0C7876

    #0C7876

    oklch(51.9% 0.086 192.7)

Open the analogous palette in the generator

Split complementary

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

  • #31785A

    #31785A

    oklch(51.9% 0.086 162.9)

  • #7A598C

    #7A598C

    oklch(51.8% 0.087 313.1)

  • #93535A

    #93535A

    oklch(51.9% 0.085 13.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31785A

    #31785A

    oklch(51.9% 0.086 162.9)

  • #626299

    #626299

    oklch(52% 0.086 283)

  • #92573F

    #92573F

    oklch(51.8% 0.086 42.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31785A

    #31785A

    oklch(51.9% 0.086 162.9)

  • #436B99

    #436B99

    oklch(51.9% 0.086 252.9)

  • #8B5476

    #8B5476

    oklch(51.9% 0.086 342.8)

  • #87602A

    #87602A

    oklch(51.9% 0.087 72.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31785A 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.