#42A420

Closest named color: Grassy Green (#419C03). oklch(63.6% 0.187 139.4), rgb(66, 164, 32).

Aa

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

About this color

#42A420 is a medium-light, vivid green. In OKLCH its lightness is 64%, its chroma 0.187 and its hue 139°. 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.56:1.

Hue familyGreens
Lightnessmedium-light (64%)
Chromavivid (0.187)
Temperaturein between
Nearest nameGrassy Green (#419C03)
Black text6.56:1
White text3.19:1

Values

HEX#42A420
RGBrgb(66, 164, 32)
HSLhsl(105, 67%, 38%)
OKLCHoklch(63.6% 0.187 139.4)

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 #42A420 3.19:1 AA large text Lc -64.2 Content text, not long reading
Black text on #42A420 6.56:1 AA Lc 45.3 Large or bold text, headings
#42A420 text on white 3.19:1 AA large text Lc 58.8 Large or bold text, headings
#42A420 text on black 6.56:1 AA Lc -42.9 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

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E1EEDE

    oklch(93.5% 0.025 139.8)

  3. Step 200

    200

    #C8E2C2

    oklch(88.5% 0.051 139.8)

  4. Step 300

    300

    #A2CF97

    oklch(80.8% 0.09 139.5)

  5. Step 400

    400

    #6DB65A

    oklch(70.7% 0.146 139.4)

  6. Step 500

    500 (this color)

    #42A420

    oklch(63.6% 0.187 139.4)

  7. Step 600

    600

    #2D8A00

    oklch(55.6% 0.177 139.4)

  8. Step 700

    700

    #257400

    oklch(49.1% 0.156 139.3)

  9. Step 800

    800

    #1D5F00

    oklch(42.7% 0.135 139.3)

  10. Step 900

    900

    #164F00

    oklch(37.6% 0.119 139.4)

  11. Step 950

    950

    #0E2F05

    oklch(27% 0.078 139.6)

Export this scale for Tailwind in the Tailwind colors tool

#42A420 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)#A995000.124
Deuteranopia (no green cones)#9D8D300.124
Tritanopia (no blue cones)#369E8C0.128
Achromatopsia (no color)#9090900.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #42A420

    #42A420

    oklch(63.6% 0.187 139.4)

  • #BA5ED1

    #BA5ED1

    oklch(63.6% 0.187 319.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42A420

    #42A420

    oklch(63.6% 0.187 139.4)

  • #929100

    #929100

    oklch(63.7% 0.138 109.3)

  • #00A37E

    #00A37E

    oklch(63.6% 0.127 169.3)

Open the analogous palette in the generator

Split complementary

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

  • #42A420

    #42A420

    oklch(63.6% 0.187 139.4)

  • #8B71F3

    #8B71F3

    oklch(63.6% 0.187 289.2)

  • #D8509C

    #D8509C

    oklch(63.5% 0.187 349.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42A420

    #42A420

    oklch(63.6% 0.187 139.4)

  • #3E86FA

    #3E86FA

    oklch(63.5% 0.188 259.6)

  • #E64E5B

    #E64E5B

    oklch(63.6% 0.187 19.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42A420

    #42A420

    oklch(63.6% 0.187 139.4)

  • #0098C7

    #0098C7

    oklch(63.6% 0.125 229.1)

  • #BA5ED1

    #BA5ED1

    oklch(63.6% 0.187 319.3)

  • #D96400

    #D96400

    oklch(63.6% 0.17 49.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #42A420 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.