#42AB0C

Closest named color: Leaf Green (#5CA904). oklch(65.4% 0.201 138.8), rgb(66, 171, 12).

Aa

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

About this color

#42AB0C is a medium-light, vivid green. In OKLCH its lightness is 65%, its chroma 0.201 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.020 away. Black text reads best on it, at 7.06:1.

Hue familyGreens
Lightnessmedium-light (65%)
Chromavivid (0.201)
Temperaturein between
Nearest nameLeaf Green (#5CA904)
Black text7.06:1
White text2.97:1

Values

HEX#42AB0C
RGBrgb(66, 171, 12)
HSLhsl(100, 87%, 36%)
OKLCHoklch(65.4% 0.201 138.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 #42AB0C 2.97:1 Fails Lc -61.2 Content text, not long reading
Black text on #42AB0C 7.06:1 AAA Lc 48.2 Large or bold text, headings
#42AB0C text on white 2.97:1 Fails Lc 55.8 Large or bold text, headings
#42AB0C text on black 7.06:1 AAA Lc -45.9 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

    #E1EFDD

    oklch(93.7% 0.028 138.7)

  3. Step 200

    200

    #C7E2C0

    oklch(88.4% 0.054 139.3)

  4. Step 300

    300

    #A0D092

    oklch(80.8% 0.099 138.7)

  5. Step 400

    400

    #6AB751

    oklch(70.7% 0.158 138.6)

  6. Step 500

    500 (this color)

    #42AB0C

    oklch(65.4% 0.201 138.8)

  7. Step 600

    600

    #318900

    oklch(55.5% 0.174 138.8)

  8. Step 700

    700

    #287400

    oklch(49.2% 0.155 138.8)

  9. Step 800

    800

    #205F00

    oklch(42.8% 0.134 138.7)

  10. Step 900

    900

    #194F00

    oklch(37.7% 0.118 138.8)

  11. Step 950

    950

    #0C2F01

    oklch(26.9% 0.083 139)

Export this scale for Tailwind in the Tailwind colors tool

#42AB0C 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)#B09B000.132
Deuteranopia (no green cones)#A492270.132
Tritanopia (no blue cones)#36A5910.139
Achromatopsia (no color)#9696960.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #42AB0C

    #42AB0C

    oklch(65.4% 0.201 138.8)

  • #C25FDD

    #C25FDD

    oklch(65.4% 0.201 318.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42AB0C

    #42AB0C

    oklch(65.4% 0.201 138.8)

  • #989600

    #989600

    oklch(65.3% 0.142 108.8)

  • #00A982

    #00A982

    oklch(65.3% 0.131 168.9)

Open the analogous palette in the generator

Split complementary

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

  • #42AB0C

    #42AB0C

    oklch(65.4% 0.201 138.8)

  • #9074FF

    #9074FF

    oklch(65.3% 0.198 289)

  • #E34FA4

    #E34FA4

    oklch(65.3% 0.201 348.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42AB0C

    #42AB0C

    oklch(65.4% 0.201 138.8)

  • #428DFF

    #428DFF

    oklch(65.4% 0.185 258.8)

  • #F24C5E

    #F24C5E

    oklch(65.4% 0.201 18.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42AB0C

    #42AB0C

    oklch(65.4% 0.201 138.8)

  • #009ECE

    #009ECE

    oklch(65.4% 0.128 228.7)

  • #C25FDD

    #C25FDD

    oklch(65.4% 0.201 318.6)

  • #E26700

    #E26700

    oklch(65.4% 0.176 48.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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