#31795C

Closest named color: Bluegreen (#017A79). oklch(52.2% 0.086 164), rgb(49, 121, 92).

Aa

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

About this color

#31795C is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.086 and its hue 164°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.045 away. White text reads best on it, at 5.22:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameBluegreen (#017A79)
Black text4.02:1
White text5.22:1

Values

HEX#31795C
RGBrgb(49, 121, 92)
HSLhsl(156, 42%, 33%)
OKLCHoklch(52.2% 0.086 164)

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 #31795C 5.22:1 AA Lc -81.1 Fine for body text
Black text on #31795C 4.02:1 AA large text Lc 28.4 Dividers and decoration only
#31795C text on white 5.22:1 AA Lc 75.7 Fine for body text
#31795C text on black 4.02:1 AA large text Lc -26.0 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

    #E3ECE8

    oklch(93.5% 0.011 167.8)

  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

    #79AE95

    oklch(70.6% 0.067 163.7)

  6. Step 500

    500

    #549A7C

    oklch(63.1% 0.085 164.3)

  7. Step 600

    600

    #358465

    oklch(55.5% 0.092 164.5)

  8. Step 700

    700 (this color)

    #31795C

    oklch(52.2% 0.086 164)

  9. Step 800

    800

    #225B44

    oklch(42.6% 0.071 163.8)

  10. Step 900

    900

    #224B3A

    oklch(37.8% 0.055 164.4)

  11. Step 950

    950

    #152C22

    oklch(27.1% 0.035 164.2)

Export this scale for Tailwind in the Tailwind colors tool

#31795C 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)#77715A0.084
Deuteranopia (no green cones)#6D695E0.083
Tritanopia (no blue cones)#0F79710.034
Achromatopsia (no color)#6C6C6C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #31795C

    #31795C

    oklch(52.2% 0.086 164)

  • #8C5576

    #8C5576

    oklch(52.2% 0.085 343.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31795C

    #31795C

    oklch(52.2% 0.086 164)

  • #557440

    #557440

    oklch(52.1% 0.085 133.7)

  • #0F7978

    #0F7978

    oklch(52.3% 0.086 193.8)

Open the analogous palette in the generator

Split complementary

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

  • #31795C

    #31795C

    oklch(52.2% 0.086 164)

  • #7C5A8C

    #7C5A8C

    oklch(52.2% 0.086 314.6)

  • #94545A

    #94545A

    oklch(52.2% 0.085 14.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31795C

    #31795C

    oklch(52.2% 0.086 164)

  • #636299

    #636299

    oklch(52.1% 0.086 283.8)

  • #93583F

    #93583F

    oklch(52.2% 0.087 43.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31795C

    #31795C

    oklch(52.2% 0.086 164)

  • #456C9A

    #456C9A

    oklch(52.3% 0.086 253.4)

  • #8C5576

    #8C5576

    oklch(52.2% 0.085 343.7)

  • #87612B

    #87612B

    oklch(52.1% 0.086 73.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31795C 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.