#40741C

Closest named color: Tree Green (#2A7E19). oklch(50.4% 0.131 135.4), rgb(64, 116, 28).

Aa

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

About this color

#40741C is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.131 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.034 away. White text reads best on it, at 5.62:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.73:1
White text5.62:1

Values

HEX#40741C
RGBrgb(64, 116, 28)
HSLhsl(95, 61%, 28%)
OKLCHoklch(50.4% 0.131 135.4)

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 #40741C 5.62:1 AA Lc -83.2 Fine for body text
Black text on #40741C 3.73:1 AA large text Lc 26.2 Dividers and decoration only
#40741C text on white 5.62:1 AA Lc 77.9 Fine for body text
#40741C text on black 3.73:1 AA large text Lc -23.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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #CFDFC8

    oklch(88.5% 0.035 136)

  4. Step 300

    300

    #AFCAA2

    oklch(80.8% 0.062 135.5)

  5. Step 400

    400

    #85AF6E

    oklch(70.7% 0.101 135)

  6. Step 500

    500

    #659B46

    oklch(63.2% 0.13 135.4)

  7. Step 600

    600

    #4C8525

    oklch(55.7% 0.141 135.3)

  8. Step 700

    700 (this color)

    #40741C

    oklch(50.4% 0.131 135.4)

  9. Step 800

    800

    #325B17

    oklch(42.6% 0.107 135.5)

  10. Step 900

    900

    #2C4B1A

    oklch(37.6% 0.084 135.6)

  11. Step 950

    950

    #1A2C10

    oklch(26.9% 0.054 135.5)

Export this scale for Tailwind in the Tailwind colors tool

#40741C 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)#786A0C0.078
Deuteranopia (no green cones)#7166250.079
Tritanopia (no blue cones)#3E6F630.095
Achromatopsia (no color)#6767670.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #40741C

    #40741C

    oklch(50.4% 0.131 135.4)

  • #804A96

    #804A96

    oklch(50.4% 0.129 315.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40741C

    #40741C

    oklch(50.4% 0.131 135.4)

  • #6D6700

    #6D6700

    oklch(50.3% 0.107 105.6)

  • #007755

    #007755

    oklch(50.4% 0.106 165)

Open the analogous palette in the generator

Split complementary

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

  • #40741C

    #40741C

    oklch(50.4% 0.131 135.4)

  • #5F56AB

    #5F56AB

    oklch(50.4% 0.131 285.5)

  • #964175

    #964175

    oklch(50.4% 0.13 345.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40741C

    #40741C

    oklch(50.4% 0.131 135.4)

  • #2964AD

    #2964AD

    oklch(50.3% 0.131 255.5)

  • #A13F4B

    #A13F4B

    oklch(50.4% 0.13 15.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40741C

    #40741C

    oklch(50.4% 0.131 135.4)

  • #006F8E

    #006F8E

    oklch(50.4% 0.096 225.7)

  • #804A96

    #804A96

    oklch(50.4% 0.129 315.4)

  • #9F4716

    #9F4716

    oklch(50.5% 0.131 45.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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