#40722A

Closest named color: Dark Olive Green (#556B2F). oklch(50% 0.117 137.3), rgb(64, 114, 42).

Aa

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

About this color

#40722A is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.117 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.034 away. White text reads best on it, at 5.74:1.

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

Values

HEX#40722A
RGBrgb(64, 114, 42)
HSLhsl(102, 46%, 31%)
OKLCHoklch(50% 0.117 137.3)

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 #40722A 5.74:1 AA Lc -83.8 Fine for body text
Black text on #40722A 3.65:1 AA large text Lc 25.5 Dividers and decoration only
#40722A text on white 5.74:1 AA Lc 78.5 Fine for body text
#40722A text on black 3.65:1 AA large text Lc -23.3 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

    #85AE76

    oklch(70.6% 0.091 137.5)

  6. Step 500

    500

    #669A52

    oklch(63.2% 0.116 137.5)

  7. Step 600

    600

    #4D8435

    oklch(55.7% 0.126 137.3)

  8. Step 700

    700 (this color)

    #40722A

    oklch(50% 0.117 137.3)

  9. Step 800

    800

    #335B22

    oklch(42.7% 0.097 137.4)

  10. Step 900

    900

    #2D4B21

    oklch(37.8% 0.076 137.5)

  11. Step 950

    950

    #1B2C14

    oklch(27.1% 0.048 137.1)

Export this scale for Tailwind in the Tailwind colors tool

#40722A 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)#7669220.075
Deuteranopia (no green cones)#6F64300.077
Tritanopia (no blue cones)#3D6E630.082
Achromatopsia (no color)#6666660.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #40722A

    #40722A

    oklch(50% 0.117 137.3)

  • #7E4C8E

    #7E4C8E

    oklch(50.1% 0.116 317.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40722A

    #40722A

    oklch(50% 0.117 137.3)

  • #6A6700

    #6A6700

    oklch(50% 0.108 107.7)

  • #007557

    #007557

    oklch(49.9% 0.102 167.4)

Open the analogous palette in the generator

Split complementary

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

  • #40722A

    #40722A

    oklch(50% 0.117 137.3)

  • #6056A2

    #6056A2

    oklch(49.9% 0.118 287.3)

  • #924470

    #924470

    oklch(50% 0.118 347.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40722A

    #40722A

    oklch(50% 0.117 137.3)

  • #3563A5

    #3563A5

    oklch(50% 0.117 257.6)

  • #9A434A

    #9A434A

    oklch(49.9% 0.117 17.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40722A

    #40722A

    oklch(50% 0.117 137.3)

  • #006D8E

    #006D8E

    oklch(49.9% 0.097 227.7)

  • #7E4C8E

    #7E4C8E

    oklch(50.1% 0.116 317.6)

  • #974B1F

    #974B1F

    oklch(50% 0.116 47.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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