#40B02F

Closest named color: Grass (#5CAC2D). oklch(66.8% 0.194 141.2), rgb(64, 176, 47).

Aa

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

About this color

#40B02F is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.194 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.022 away. Black text reads best on it, at 7.46:1.

Hue familyGreens
Lightnessmedium-light (67%)
Chromavivid (0.194)
Temperaturein between
Nearest nameGrass (#5CAC2D)
Black text7.46:1
White text2.81:1

Values

HEX#40B02F
RGBrgb(64, 176, 47)
HSLhsl(112, 58%, 44%)
OKLCHoklch(66.8% 0.194 141.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 #40B02F 2.81:1 Fails Lc -58.9 Large or bold text, headings
Black text on #40B02F 7.46:1 AAA Lc 50.4 Large or bold text, headings
#40B02F text on white 2.81:1 Fails Lc 53.6 Large or bold text, headings
#40B02F text on black 7.46:1 AAA Lc -48.2 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

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E0EFDE

    oklch(93.6% 0.028 142)

  3. Step 200

    200

    #C7E2C2

    oklch(88.4% 0.052 140.8)

  4. Step 300

    300

    #9FD097

    oklch(80.8% 0.094 141.1)

  5. Step 400

    400

    #66B75A

    oklch(70.6% 0.151 141.2)

  6. Step 500

    500 (this color)

    #40B02F

    oklch(66.8% 0.194 141.2)

  7. Step 600

    600

    #1B8B00

    oklch(55.5% 0.183 141.2)

  8. Step 700

    700

    #157500

    oklch(49% 0.162 141.2)

  9. Step 800

    800

    #106000

    oklch(42.6% 0.141 141.2)

  10. Step 900

    900

    #0B5000

    oklch(37.6% 0.124 141.3)

  11. Step 950

    950

    #0A2F05

    oklch(26.9% 0.08 141.2)

Export this scale for Tailwind in the Tailwind colors tool

#40B02F 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)#B4A0170.132
Deuteranopia (no green cones)#A7973C0.133
Tritanopia (no blue cones)#2DAA970.128
Achromatopsia (no color)#9A9A9A0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #40B02F

    #40B02F

    oklch(66.8% 0.194 141.2)

  • #C965DB

    #C965DB

    oklch(66.9% 0.193 321.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40B02F

    #40B02F

    oklch(66.8% 0.194 141.2)

  • #999C00

    #999C00

    oklch(66.8% 0.147 111.1)

  • #00AE8A

    #00AE8A

    oklch(66.8% 0.131 171.1)

Open the analogous palette in the generator

Split complementary

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

  • #40B02F

    #40B02F

    oklch(66.8% 0.194 141.2)

  • #9879FF

    #9879FF

    oklch(66.8% 0.191 291)

  • #E857A3

    #E857A3

    oklch(66.9% 0.194 351.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40B02F

    #40B02F

    oklch(66.8% 0.194 141.2)

  • #5491FF

    #5491FF

    oklch(66.9% 0.175 261.2)

  • #F4565E

    #F4565E

    oklch(66.7% 0.193 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40B02F

    #40B02F

    oklch(66.8% 0.194 141.2)

  • #00A2D8

    #00A2D8

    oklch(66.8% 0.135 231.2)

  • #C965DB

    #C965DB

    oklch(66.9% 0.193 321.3)

  • #E56E00

    #E56E00

    oklch(66.8% 0.174 51)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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