#40804C

Closest named color: Sea Green (#2E8B57). oklch(54.3% 0.104 148.2), rgb(64, 128, 76).

Aa

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

About this color

#40804C is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.104 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sea Green (#2E8B57), ΔE 0.032 away. White text reads best on it, at 4.76:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameSea Green (#2E8B57)
Black text4.41:1
White text4.76:1

Values

HEX#40804C
RGBrgb(64, 128, 76)
HSLhsl(131, 33%, 38%)
OKLCHoklch(54.3% 0.104 148.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 #40804C 4.76:1 AA Lc -78.3 Fine for body text
Black text on #40804C 4.41:1 AA large text Lc 31.2 Non-text elements, placeholder text
#40804C text on white 4.76:1 AA Lc 72.9 Content text, not long reading
#40804C text on black 4.41:1 AA large text Lc -28.8 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 600.

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE5

    oklch(93.5% 0.013 149.2)

  3. Step 200

    200

    #CEDED0

    oklch(88.5% 0.026 149.1)

  4. Step 300

    300

    #ADC9B0

    oklch(80.8% 0.046 148.2)

  5. Step 400

    400

    #81AE87

    oklch(70.8% 0.074 148.3)

  6. Step 500

    500

    #5F9A68

    oklch(63.2% 0.097 148.1)

  7. Step 600

    600 (this color)

    #40804C

    oklch(54.3% 0.104 148.2)

  8. Step 700

    700

    #356F40

    oklch(49% 0.096 148.2)

  9. Step 800

    800

    #2D5B35

    oklch(42.7% 0.08 148)

  10. Step 900

    900

    #294B2E

    oklch(37.8% 0.063 147.7)

  11. Step 950

    950

    #182C1B

    oklch(27% 0.041 148)

Export this scale for Tailwind in the Tailwind colors tool

#40804C 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)#8176480.085
Deuteranopia (no green cones)#78704F0.083
Tritanopia (no blue cones)#347E730.059
Achromatopsia (no color)#7373730.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #40804C

    #40804C

    oklch(54.3% 0.104 148.2)

  • #90588E

    #90588E

    oklch(54.3% 0.105 328.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40804C

    #40804C

    oklch(54.3% 0.104 148.2)

  • #6A7829

    #6A7829

    oklch(54.4% 0.105 118.6)

  • #008270

    #008270

    oklch(54.3% 0.1 178.5)

Open the analogous palette in the generator

Split complementary

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

  • #40804C

    #40804C

    oklch(54.3% 0.104 148.2)

  • #7761A4

    #7761A4

    oklch(54.3% 0.104 298)

  • #9F546F

    #9F546F

    oklch(54.3% 0.104 358.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40804C

    #40804C

    oklch(54.3% 0.104 148.2)

  • #566CAC

    #566CAC

    oklch(54.3% 0.104 268.4)

  • #A4564C

    #A4564C

    oklch(54.4% 0.105 28.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40804C

    #40804C

    oklch(54.3% 0.104 148.2)

  • #2677A5

    #2677A5

    oklch(54.3% 0.104 238.4)

  • #90588E

    #90588E

    oklch(54.3% 0.105 328.2)

  • #9C5F2A

    #9C5F2A

    oklch(54.4% 0.104 58.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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