#31503B

Closest named color: Dark Slate Gray (#2F4F4F). oklch(40% 0.051 153.9), rgb(49, 80, 59).

Aa

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

About this color

#31503B is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.051 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.034 away. White text reads best on it, at 8.96:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.051)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.34:1
White text8.96:1

Values

HEX#31503B
RGBrgb(49, 80, 59)
HSLhsl(139, 24%, 25%)
OKLCHoklch(40% 0.051 153.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 #31503B 8.96:1 AAA Lc -94.9 Preferred for body text
Black text on #31503B 2.34:1 Fails Lc 13.5 Not readable
#31503B text on white 8.96:1 AAA Lc 90.5 Preferred for body text
#31503B text on black 2.34:1 Fails Lc -11.8 Not readable

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

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CFDDD3

    oklch(88.4% 0.02 154.9)

  4. Step 300

    300

    #AEC8B5

    oklch(80.8% 0.039 153.7)

  5. Step 400

    400

    #83AC8F

    oklch(70.6% 0.061 153.8)

  6. Step 500

    500

    #639874

    oklch(63.2% 0.078 153.9)

  7. Step 600

    600

    #48825C

    oklch(55.6% 0.085 153.9)

  8. Step 700

    700

    #396E4C

    oklch(49.1% 0.079 154.2)

  9. Step 800

    800

    #305A3E

    oklch(42.8% 0.067 153.5)

  10. Step 900

    900 (this color)

    #31503B

    oklch(40% 0.051 153.9)

  11. Step 950

    950

    #1A2B1F

    oklch(27% 0.032 153.1)

Export this scale for Tailwind in the Tailwind colors tool

#31503B 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)#504B3A0.046
Deuteranopia (no green cones)#4B483C0.044
Tritanopia (no blue cones)#2B4F4A0.026
Achromatopsia (no color)#4949490.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #31503B

    #31503B

    oklch(40% 0.051 153.9)

  • #593D53

    #593D53

    oklch(40% 0.052 334.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31503B

    #31503B

    oklch(40% 0.051 153.9)

  • #424D2D

    #424D2D

    oklch(40.1% 0.052 124.2)

  • #23514B

    #23514B

    oklch(40.1% 0.052 184.1)

Open the analogous palette in the generator

Split complementary

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

  • #31503B

    #31503B

    oklch(40% 0.051 153.9)

  • #4E415E

    #4E415E

    oklch(40.1% 0.05 304.7)

  • #5F3C45

    #5F3C45

    oklch(40% 0.051 2.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31503B

    #31503B

    oklch(40% 0.051 153.9)

  • #3F4664

    #3F4664

    oklch(40.1% 0.052 273.8)

  • #603E35

    #603E35

    oklch(40.1% 0.051 35.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31503B

    #31503B

    oklch(40% 0.051 153.9)

  • #2F4B62

    #2F4B62

    oklch(40.1% 0.052 244.4)

  • #593D53

    #593D53

    oklch(40% 0.052 334.4)

  • #5B422A

    #5B422A

    oklch(40% 0.051 64.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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