#40700C

Closest named color: Tree Green (#2A7E19). oklch(49.2% 0.134 133.3), rgb(64, 112, 12).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.54:1
White text5.93:1

Values

HEX#40700C
RGBrgb(64, 112, 12)
HSLhsl(89, 81%, 24%)
OKLCHoklch(49.2% 0.134 133.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 #40700C 5.93:1 AA Lc -84.6 Fine for body text
Black text on #40700C 3.54:1 AA large text Lc 24.7 Dividers and decoration only
#40700C text on white 5.93:1 AA Lc 79.4 Fine for body text
#40700C text on black 3.54:1 AA large text Lc -22.4 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

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D0DFC7

    oklch(88.6% 0.036 133.6)

  4. Step 300

    300

    #B0CAA0

    oklch(80.8% 0.064 133.6)

  5. Step 400

    400

    #87AF6B

    oklch(70.8% 0.104 133.3)

  6. Step 500

    500

    #689A41

    oklch(63.1% 0.132 133.4)

  7. Step 600

    600

    #4F841C

    oklch(55.5% 0.143 133.3)

  8. Step 700

    700 (this color)

    #40700C

    oklch(49.2% 0.134 133.3)

  9. Step 800

    800

    #355B10

    oklch(42.7% 0.11 133.3)

  10. Step 900

    900

    #2E4B16

    oklch(37.7% 0.087 133.4)

  11. Step 950

    950

    #1B2C0E

    oklch(27% 0.055 133.5)

Export this scale for Tailwind in the Tailwind colors tool

#40700C 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)#7566000.077
Deuteranopia (no green cones)#6F63190.077
Tritanopia (no blue cones)#406B5F0.100
Achromatopsia (no color)#6464640.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #40700C

    #40700C

    oklch(49.2% 0.134 133.3)

  • #7B4696

    #7B4696

    oklch(49.2% 0.134 313.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40700C

    #40700C

    oklch(49.2% 0.134 133.3)

  • #6C6300

    #6C6300

    oklch(49.3% 0.104 103.3)

  • #007350

    #007350

    oklch(49.2% 0.105 163.6)

Open the analogous palette in the generator

Split complementary

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

  • #40700C

    #40700C

    oklch(49.2% 0.134 133.3)

  • #5953A9

    #5953A9

    oklch(49.2% 0.133 283.5)

  • #923C74

    #923C74

    oklch(49.1% 0.134 343.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40700C

    #40700C

    oklch(49.2% 0.134 133.3)

  • #1C62AA

    #1C62AA

    oklch(49.3% 0.133 253)

  • #9E394A

    #9E394A

    oklch(49.2% 0.134 13.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40700C

    #40700C

    oklch(49.2% 0.134 133.3)

  • #006C87

    #006C87

    oklch(49.3% 0.092 222.9)

  • #7B4696

    #7B4696

    oklch(49.2% 0.134 313.1)

  • #9C4113

    #9C4113

    oklch(49.1% 0.133 43.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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