#40AC0F

Closest named color: Leaf Green (#5CA904). oklch(65.6% 0.203 139.1), rgb(64, 172, 15).

Aa

Black text reads best on this color (7.12:1).

About this color

#40AC0F is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.203 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leaf Green (#5CA904), ΔE 0.022 away. Black text reads best on it, at 7.12:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.203)
Temperaturein between
Nearest nameLeaf Green (#5CA904)
Black text7.12:1
White text2.94:1

Values

HEX#40AC0F
RGBrgb(64, 172, 15)
HSLhsl(101, 84%, 37%)
OKLCHoklch(65.6% 0.203 139.1)

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 #40AC0F 2.94:1 Fails Lc -60.8 Content text, not long reading
Black text on #40AC0F 7.12:1 AAA Lc 48.6 Large or bold text, headings
#40AC0F text on white 2.94:1 Fails Lc 55.5 Large or bold text, headings
#40AC0F text on black 7.12:1 AAA Lc -46.3 Large or bold text, headings

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 500.

  1. Step 50

    50

    #F1F8EF

    oklch(97.1% 0.014 138.7)

  2. Step 100

    100

    #E0EFDD

    oklch(93.6% 0.029 140.5)

  3. Step 200

    200

    #C7E3C0

    oklch(88.6% 0.056 139.4)

  4. Step 300

    300

    #A0D193

    oklch(81% 0.099 139.2)

  5. Step 400

    400

    #68B751

    oklch(70.6% 0.159 139.1)

  6. Step 500

    500 (this color)

    #40AC0F

    oklch(65.6% 0.203 139.1)

  7. Step 600

    600

    #2F8A00

    oklch(55.7% 0.176 139.1)

  8. Step 700

    700

    #267400

    oklch(49.1% 0.155 139.2)

  9. Step 800

    800

    #1E5F00

    oklch(42.7% 0.135 139.1)

  10. Step 900

    900

    #174F00

    oklch(37.6% 0.119 139.2)

  11. Step 950

    950

    #0C2F01

    oklch(26.9% 0.083 139)

Export this scale for Tailwind in the Tailwind colors tool

#40AC0F 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)#B19C000.134
Deuteranopia (no green cones)#A493290.133
Tritanopia (no blue cones)#32A6920.139
Achromatopsia (no color)#9696960.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #40AC0F

    #40AC0F

    oklch(65.6% 0.203 139.1)

  • #C45FDD

    #C45FDD

    oklch(65.6% 0.202 319.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40AC0F

    #40AC0F

    oklch(65.6% 0.203 139.1)

  • #989700

    #989700

    oklch(65.6% 0.142 109.3)

  • #00AA83

    #00AA83

    oklch(65.6% 0.131 169)

Open the analogous palette in the generator

Split complementary

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

  • #40AC0F

    #40AC0F

    oklch(65.6% 0.203 139.1)

  • #9175FF

    #9175FF

    oklch(65.6% 0.197 289.1)

  • #E54FA4

    #E54FA4

    oklch(65.6% 0.203 349.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40AC0F

    #40AC0F

    oklch(65.6% 0.203 139.1)

  • #458DFF

    #458DFF

    oklch(65.5% 0.184 259.3)

  • #F34C5D

    #F34C5D

    oklch(65.5% 0.202 19.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40AC0F

    #40AC0F

    oklch(65.6% 0.203 139.1)

  • #009FD0

    #009FD0

    oklch(65.7% 0.13 229.1)

  • #C45FDD

    #C45FDD

    oklch(65.6% 0.202 319.3)

  • #E26800

    #E26800

    oklch(65.5% 0.175 49.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #40AC0F.

Similar named colors

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

Use #40AC0F 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.