#40712A

Closest named color: Dark Olive Green (#556B2F). oklch(49.7% 0.115 137.2), rgb(64, 113, 42).

Aa

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

About this color

#40712A is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.115 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.032 away. White text reads best on it, at 5.81:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.61:1
White text5.81:1

Values

HEX#40712A
RGBrgb(64, 113, 42)
HSLhsl(101, 46%, 30%)
OKLCHoklch(49.7% 0.115 137.2)

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 #40712A 5.81:1 AA Lc -84.1 Fine for body text
Black text on #40712A 3.61:1 AA large text Lc 25.2 Dividers and decoration only
#40712A text on white 5.81:1 AA Lc 78.9 Fine for body text
#40712A text on black 3.61:1 AA large text Lc -22.9 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5EDE2

    oklch(93.7% 0.017 137)

  3. Step 200

    200

    #D0DECA

    oklch(88.5% 0.031 136.2)

  4. Step 300

    300

    #B0CAA6

    oklch(81% 0.057 137)

  5. Step 400

    400

    #86AE77

    oklch(70.7% 0.089 137.4)

  6. Step 500

    500

    #679952

    oklch(63% 0.114 137)

  7. Step 600

    600

    #4E8436

    oklch(55.7% 0.124 137.1)

  8. Step 700

    700 (this color)

    #40712A

    oklch(49.7% 0.115 137.2)

  9. Step 800

    800

    #345B23

    oklch(42.8% 0.096 137.2)

  10. Step 900

    900

    #2E4B21

    oklch(37.9% 0.075 136.8)

  11. Step 950

    950

    #1B2C14

    oklch(27.1% 0.048 137.1)

Export this scale for Tailwind in the Tailwind colors tool

#40712A 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)#7568220.074
Deuteranopia (no green cones)#6E642F0.074
Tritanopia (no blue cones)#3E6D620.081
Achromatopsia (no color)#6565650.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #40712A

    #40712A

    oklch(49.7% 0.115 137.2)

  • #7D4B8D

    #7D4B8D

    oklch(49.7% 0.116 317.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40712A

    #40712A

    oklch(49.7% 0.115 137.2)

  • #6A6600

    #6A6600

    oklch(49.8% 0.107 107)

  • #007456

    #007456

    oklch(49.6% 0.101 167.2)

Open the analogous palette in the generator

Split complementary

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

  • #40712A

    #40712A

    oklch(49.7% 0.115 137.2)

  • #5F56A0

    #5F56A0

    oklch(49.7% 0.115 287)

  • #90446F

    #90446F

    oklch(49.7% 0.115 347)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40712A

    #40712A

    oklch(49.7% 0.115 137.2)

  • #3462A3

    #3462A3

    oklch(49.6% 0.116 257.4)

  • #99434A

    #99434A

    oklch(49.7% 0.115 17.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40712A

    #40712A

    oklch(49.7% 0.115 137.2)

  • #006C8D

    #006C8D

    oklch(49.6% 0.097 227.9)

  • #7D4B8D

    #7D4B8D

    oklch(49.7% 0.116 317.6)

  • #964A20

    #964A20

    oklch(49.7% 0.116 46.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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