#40580F

Closest named color: Navy Green (#35530A). oklch(42.6% 0.1 126.7), rgb(64, 88, 15).

Aa

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

About this color

#40580F is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.100 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.023 away. White text reads best on it, at 8.01:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.62:1
White text8.01:1

Values

HEX#40580F
RGBrgb(64, 88, 15)
HSLhsl(80, 71%, 20%)
OKLCHoklch(42.6% 0.1 126.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 #40580F 8.01:1 AAA Lc -92.3 Preferred for body text
Black text on #40580F 2.62:1 Fails Lc 16.4 Dividers and decoration only
#40580F text on white 8.01:1 AAA Lc 87.6 Fine for body text
#40580F text on black 2.62:1 Fails Lc -14.5 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 800.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D3DDC7

    oklch(88.4% 0.031 127.1)

  4. Step 300

    300

    #B7C89F

    oklch(80.9% 0.059 126)

  5. Step 400

    400

    #91AC6B

    oklch(70.8% 0.094 127)

  6. Step 500

    500

    #769640

    oklch(63% 0.12 126.6)

  7. Step 600

    600

    #5F801C

    oklch(55.5% 0.13 126.6)

  8. Step 700

    700

    #4E6C0B

    oklch(49% 0.121 126.8)

  9. Step 800

    800 (this color)

    #40580F

    oklch(42.6% 0.1 126.7)

  10. Step 900

    900

    #374916

    oklch(37.8% 0.078 126.4)

  11. Step 950

    950

    #202B0E

    oklch(27.1% 0.05 126.8)

Export this scale for Tailwind in the Tailwind colors tool

#40580F 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)#5D51000.047
Deuteranopia (no green cones)#5A50160.048
Tritanopia (no blue cones)#43534A0.081
Achromatopsia (no color)#5050500.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #40580F

    #40580F

    oklch(42.6% 0.1 126.7)

  • #5D3E79

    #5D3E79

    oklch(42.6% 0.1 306.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40580F

    #40580F

    oklch(42.6% 0.1 126.7)

  • #5D4E00

    #5D4E00

    oklch(42.6% 0.088 96.3)

  • #045E37

    #045E37

    oklch(42.5% 0.1 156.7)

Open the analogous palette in the generator

Split complementary

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

  • #40580F

    #40580F

    oklch(42.6% 0.1 126.7)

  • #414885

    #414885

    oklch(42.7% 0.101 276.3)

  • #703763

    #703763

    oklch(42.6% 0.1 336.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40580F

    #40580F

    oklch(42.6% 0.1 126.7)

  • #135282

    #135282

    oklch(42.6% 0.1 246.8)

  • #7B3445

    #7B3445

    oklch(42.7% 0.1 7.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40580F

    #40580F

    oklch(42.6% 0.1 126.7)

  • #005869

    #005869

    oklch(42.4% 0.076 216.8)

  • #5D3E79

    #5D3E79

    oklch(42.6% 0.1 306.9)

  • #7C3724

    #7C3724

    oklch(42.6% 0.101 36.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40580F 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.