#40A231

Closest named color: Grassy Green (#419C03). oklch(63.1% 0.176 141.2), rgb(64, 162, 49).

Aa

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

About this color

#40A231 is a medium-light, vivid green. In OKLCH its lightness is 63%, its chroma 0.176 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grassy Green (#419C03), ΔE 0.024 away. Black text reads best on it, at 6.43:1.

Hue familyGreens
Lightnessmedium-light (63%)
Chromavivid (0.176)
Temperaturein between
Nearest nameGrassy Green (#419C03)
Black text6.43:1
White text3.26:1

Values

HEX#40A231
RGBrgb(64, 162, 49)
HSLhsl(112, 54%, 41%)
OKLCHoklch(63.1% 0.176 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 #40A231 3.26:1 AA large text Lc -65.0 Content text, not long reading
Black text on #40A231 6.43:1 AA Lc 44.5 Non-text elements, placeholder text
#40A231 text on white 3.26:1 AA large text Lc 59.6 Large or bold text, headings
#40A231 text on black 6.43:1 AA Lc -42.1 Non-text elements, placeholder text

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

    #F1F7F0

    oklch(97% 0.011 141.3)

  2. Step 100

    100

    #E1EEDF

    oklch(93.5% 0.024 141.5)

  3. Step 200

    200

    #C8E2C4

    oklch(88.6% 0.049 141.4)

  4. Step 300

    300

    #A2CF9B

    oklch(80.9% 0.086 141.3)

  5. Step 400

    400

    #6DB662

    oklch(70.8% 0.138 141.2)

  6. Step 500

    500 (this color)

    #40A231

    oklch(63.1% 0.176 141.2)

  7. Step 600

    600

    #1C8B00

    oklch(55.5% 0.183 141.2)

  8. Step 700

    700

    #167500

    oklch(49% 0.162 141.2)

  9. Step 800

    800

    #106000

    oklch(42.6% 0.141 141.2)

  10. Step 900

    900

    #154F0B

    oklch(37.6% 0.114 141.1)

  11. Step 950

    950

    #0E2F0A

    oklch(27.1% 0.073 141.5)

Export this scale for Tailwind in the Tailwind colors tool

#40A231 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)#A693200.121
Deuteranopia (no green cones)#9A8B3C0.122
Tritanopia (no blue cones)#319D8B0.115
Achromatopsia (no color)#8E8E8E0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #40A231

    #40A231

    oklch(63.1% 0.176 141.2)

  • #B85FC8

    #B85FC8

    oklch(63% 0.176 321.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40A231

    #40A231

    oklch(63.1% 0.176 141.2)

  • #8D9000

    #8D9000

    oklch(63% 0.139 111.3)

  • #00A180

    #00A180

    oklch(63.1% 0.123 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #40A231

    #40A231

    oklch(63.1% 0.176 141.2)

  • #8D71EA

    #8D71EA

    oklch(63.2% 0.176 291.2)

  • #D45396

    #D45396

    oklch(63% 0.176 351.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40A231

    #40A231

    oklch(63.1% 0.176 141.2)

  • #4885F2

    #4885F2

    oklch(63.1% 0.176 261)

  • #E05359

    #E05359

    oklch(63.2% 0.176 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40A231

    #40A231

    oklch(63.1% 0.176 141.2)

  • #0096C8

    #0096C8

    oklch(63.1% 0.127 231)

  • #B85FC8

    #B85FC8

    oklch(63% 0.176 321.3)

  • #D46600

    #D46600

    oklch(63.2% 0.164 51.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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