#31531A

Closest named color: Navy Green (#35530A). oklch(40.2% 0.094 134.8), rgb(49, 83, 26).

Aa

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

About this color

#31531A is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.094 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.012 away. White text reads best on it, at 8.81:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.38:1
White text8.81:1

Values

HEX#31531A
RGBrgb(49, 83, 26)
HSLhsl(96, 52%, 21%)
OKLCHoklch(40.2% 0.094 134.8)

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 #31531A 8.81:1 AAA Lc -94.5 Preferred for body text
Black text on #31531A 2.38:1 Fails Lc 14.0 Not readable
#31531A text on white 8.81:1 AAA Lc 90.0 Fine for body text
#31531A text on black 2.38:1 Fails Lc -12.3 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 800.

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5ECE2

    oklch(93.5% 0.015 136.1)

  3. Step 200

    200

    #D1DECA

    oklch(88.5% 0.03 134.4)

  4. Step 300

    300

    #B2C9A6

    oklch(80.9% 0.054 134.9)

  5. Step 400

    400

    #89AD75

    oklch(70.7% 0.088 134.8)

  6. Step 500

    500

    #6B9851

    oklch(63% 0.111 135)

  7. Step 600

    600

    #538334

    oklch(55.7% 0.122 134.9)

  8. Step 700

    700

    #436E26

    oklch(49% 0.113 134.8)

  9. Step 800

    800 (this color)

    #31531A

    oklch(40.2% 0.094 134.8)

  10. Step 900

    900

    #304A20

    oklch(37.7% 0.073 134.8)

  11. Step 950

    950

    #1C2B14

    oklch(26.9% 0.045 135.5)

Export this scale for Tailwind in the Tailwind colors tool

#31531A 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)#564C130.056
Deuteranopia (no green cones)#52491F0.058
Tritanopia (no blue cones)#3050470.067
Achromatopsia (no color)#4A4A4A0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #31531A

    #31531A

    oklch(40.2% 0.094 134.8)

  • #5B376B

    #5B376B

    oklch(40.3% 0.094 314.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31531A

    #31531A

    oklch(40.2% 0.094 134.8)

  • #504A00

    #504A00

    oklch(40.2% 0.085 104.3)

  • #00563D

    #00563D

    oklch(40.2% 0.084 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #31531A

    #31531A

    oklch(40.2% 0.094 134.8)

  • #443F78

    #443F78

    oklch(40.1% 0.094 285.3)

  • #6B3154

    #6B3154

    oklch(40.3% 0.094 345)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31531A

    #31531A

    oklch(40.2% 0.094 134.8)

  • #214979

    #214979

    oklch(40.2% 0.093 254.5)

  • #723038

    #723038

    oklch(40.3% 0.093 14.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31531A

    #31531A

    oklch(40.2% 0.094 134.8)

  • #005067

    #005067

    oklch(40.1% 0.076 225.4)

  • #5B376B

    #5B376B

    oklch(40.3% 0.094 314.7)

  • #703518

    #703518

    oklch(40.2% 0.093 44.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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