#42B151

Closest named color: Medium Green (#39AD48). oklch(67.5% 0.169 145.8), rgb(66, 177, 81).

Aa

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

About this color

#42B151 is a medium-light, vivid green. In OKLCH its lightness is 68%, its chroma 0.169 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.016 away. Black text reads best on it, at 7.63:1.

Hue familyGreens
Lightnessmedium-light (68%)
Chromavivid (0.169)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.63:1
White text2.74:1

Values

HEX#42B151
RGBrgb(66, 177, 81)
HSLhsl(128, 46%, 48%)
OKLCHoklch(67.5% 0.169 145.8)

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 #42B151 2.74:1 Fails Lc -58.0 Large or bold text, headings
Black text on #42B151 7.63:1 AAA Lc 51.3 Large or bold text, headings
#42B151 text on white 2.74:1 Fails Lc 52.8 Large or bold text, headings
#42B151 text on black 7.63:1 AAA Lc -49.1 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 400.

  1. Step 50

    50

    #F0F8F0

    oklch(97.1% 0.014 145.5)

  2. Step 100

    100

    #DEF0DE

    oklch(93.7% 0.031 145.3)

  3. Step 200

    200

    #C1E4C2

    oklch(88.4% 0.059 145.8)

  4. Step 300

    300

    #94D397

    oklch(80.9% 0.105 145.7)

  5. Step 400

    400 (this color)

    #42B151

    oklch(67.5% 0.169 145.8)

  6. Step 500

    500

    #00A633

    oklch(63.1% 0.194 145.8)

  7. Step 600

    600

    #008C2A

    oklch(55.7% 0.171 145.8)

  8. Step 700

    700

    #007622

    oklch(49.2% 0.151 145.8)

  9. Step 800

    800

    #00611A

    oklch(42.9% 0.132 145.8)

  10. Step 900

    900

    #005114

    oklch(37.8% 0.117 145.7)

  11. Step 950

    950

    #003009

    oklch(26.9% 0.082 146)

Export this scale for Tailwind in the Tailwind colors tool

#42B151 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)#B4A2480.129
Deuteranopia (no green cones)#A698580.129
Tritanopia (no blue cones)#27AD9B0.101
Achromatopsia (no color)#9C9C9C0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #42B151

    #42B151

    oklch(67.5% 0.169 145.8)

  • #CA6DCE

    #CA6DCE

    oklch(67.5% 0.169 325.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42B151

    #42B151

    oklch(67.5% 0.169 145.8)

  • #93A100

    #93A100

    oklch(67.4% 0.154 115.8)

  • #00B093

    #00B093

    oklch(67.6% 0.127 175.3)

Open the analogous palette in the generator

Split complementary

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

  • #42B151

    #42B151

    oklch(67.5% 0.169 145.8)

  • #A17DF2

    #A17DF2

    oklch(67.5% 0.169 295.7)

  • #E4649A

    #E4649A

    oklch(67.6% 0.168 356.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42B151

    #42B151

    oklch(67.5% 0.169 145.8)

  • #6590FE

    #6590FE

    oklch(67.5% 0.169 266)

  • #EC665E

    #EC665E

    oklch(67.5% 0.168 26)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42B151

    #42B151

    oklch(67.5% 0.169 145.8)

  • #00A3E3

    #00A3E3

    oklch(67.6% 0.145 235.6)

  • #CA6DCE

    #CA6DCE

    oklch(67.5% 0.169 325.7)

  • #E17600

    #E17600

    oklch(67.5% 0.166 55.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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