#42AE1B

Closest named color: Leaf Green (#5CA904). oklch(66.2% 0.2 139.5), rgb(66, 174, 27).

Aa

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

About this color

#42AE1B is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.200 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.021 away. Black text reads best on it, at 7.30:1.

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

Values

HEX#42AE1B
RGBrgb(66, 174, 27)
HSLhsl(104, 73%, 39%)
OKLCHoklch(66.2% 0.2 139.5)

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 #42AE1B 2.87:1 Fails Lc -59.8 Large or bold text, headings
Black text on #42AE1B 7.30:1 AAA Lc 49.5 Large or bold text, headings
#42AE1B text on white 2.87:1 Fails Lc 54.5 Large or bold text, headings
#42AE1B text on black 7.30:1 AAA Lc -47.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

    #C7E2C0

    oklch(88.4% 0.054 139.3)

  4. Step 300

    300

    #A0D093

    oklch(80.8% 0.098 139.1)

  5. Step 400

    400

    #68B753

    oklch(70.6% 0.157 139.4)

  6. Step 500

    500 (this color)

    #42AE1B

    oklch(66.2% 0.2 139.5)

  7. Step 600

    600

    #2C8A00

    oklch(55.6% 0.177 139.5)

  8. Step 700

    700

    #247400

    oklch(49.1% 0.156 139.5)

  9. Step 800

    800

    #1C5F00

    oklch(42.6% 0.136 139.5)

  10. Step 900

    900

    #165000

    oklch(37.9% 0.121 139.5)

  11. Step 950

    950

    #0B2F02

    oklch(26.9% 0.082 139.7)

Export this scale for Tailwind in the Tailwind colors tool

#42AE1B 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)#B39E000.133
Deuteranopia (no green cones)#A6952F0.133
Tritanopia (no blue cones)#34A8940.136
Achromatopsia (no color)#9898980.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #42AE1B

    #42AE1B

    oklch(66.2% 0.2 139.5)

  • #C661DE

    #C661DE

    oklch(66.2% 0.201 319.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42AE1B

    #42AE1B

    oklch(66.2% 0.2 139.5)

  • #9A9900

    #9A9900

    oklch(66.2% 0.144 109.3)

  • #00AC86

    #00AC86

    oklch(66.2% 0.131 169.8)

Open the analogous palette in the generator

Split complementary

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

  • #42AE1B

    #42AE1B

    oklch(66.2% 0.2 139.5)

  • #9378FF

    #9378FF

    oklch(66.2% 0.193 289.3)

  • #E752A5

    #E752A5

    oklch(66.3% 0.201 349.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42AE1B

    #42AE1B

    oklch(66.2% 0.2 139.5)

  • #4A90FF

    #4A90FF

    oklch(66.3% 0.179 259.3)

  • #F5505F

    #F5505F

    oklch(66.3% 0.2 19.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42AE1B

    #42AE1B

    oklch(66.2% 0.2 139.5)

  • #00A1D3

    #00A1D3

    oklch(66.3% 0.131 229.3)

  • #C661DE

    #C661DE

    oklch(66.2% 0.201 319.6)

  • #E56A00

    #E56A00

    oklch(66.2% 0.177 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 #42AE1B, closest first.

No curated palette has a color within ΔE 0.04 of #42AE1B.

Similar named colors

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

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