#31500C

Closest named color: Navy Green (#35530A). oklch(39.2% 0.1 131.7), rgb(49, 80, 12).

Aa

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

About this color

#31500C is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.100 and its hue 132°. 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 9.19:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.28:1
White text9.19:1

Values

HEX#31500C
RGBrgb(49, 80, 12)
HSLhsl(87, 74%, 18%)
OKLCHoklch(39.2% 0.1 131.7)

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 #31500C 9.19:1 AAA Lc -95.4 Preferred for body text
Black text on #31500C 2.28:1 Fails Lc 12.9 Not readable
#31500C text on white 9.19:1 AAA Lc 91.0 Preferred for body text
#31500C text on black 2.28:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E5EDDE

    oklch(93.6% 0.022 130)

  3. Step 200

    200

    #CFDFC3

    oklch(88.4% 0.041 131.7)

  4. Step 300

    300

    #AFCB99

    oklch(80.8% 0.075 131.7)

  5. Step 400

    400

    #85B05F

    oklch(70.7% 0.119 131.7)

  6. Step 500

    500

    #669B2A

    oklch(63% 0.152 131.6)

  7. Step 600

    600

    #508400

    oklch(55.5% 0.153 131.6)

  8. Step 700

    700

    #436F00

    oklch(49% 0.135 131.5)

  9. Step 800

    800

    #365B00

    oklch(42.7% 0.117 131.5)

  10. Step 900

    900 (this color)

    #31500C

    oklch(39.2% 0.1 131.7)

  11. Step 950

    950

    #1B2C08

    oklch(26.9% 0.062 131.2)

Export this scale for Tailwind in the Tailwind colors tool

#31500C 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)#5449000.054
Deuteranopia (no green cones)#5047130.055
Tritanopia (no blue cones)#324C430.076
Achromatopsia (no color)#4848480.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #31500C

    #31500C

    oklch(39.2% 0.1 131.7)

  • #57346C

    #57346C

    oklch(39.3% 0.099 311.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31500C

    #31500C

    oklch(39.2% 0.1 131.7)

  • #4F4700

    #4F4700

    oklch(39.4% 0.082 102.1)

  • #005437

    #005437

    oklch(39.4% 0.087 161.6)

Open the analogous palette in the generator

Split complementary

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

  • #31500C

    #31500C

    oklch(39.2% 0.1 131.7)

  • #3E3D79

    #3E3D79

    oklch(39.3% 0.099 281.6)

  • #682D55

    #682D55

    oklch(39.3% 0.1 341.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31500C

    #31500C

    oklch(39.2% 0.1 131.7)

  • #144779

    #144779

    oklch(39.3% 0.1 251.7)

  • #712B38

    #712B38

    oklch(39.3% 0.099 11.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31500C

    #31500C

    oklch(39.2% 0.1 131.7)

  • #004E61

    #004E61

    oklch(39.3% 0.072 221.3)

  • #57346C

    #57346C

    oklch(39.3% 0.099 311.5)

  • #703014

    #703014

    oklch(39.3% 0.099 42.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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