#04A71F

Closest named color: Kelly Green (#02AB2E). oklch(63.2% 0.206 143.7), rgb(4, 167, 31).

Aa

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

About this color

#04A71F is a medium-light, vivid green. In OKLCH its lightness is 63%, its chroma 0.206 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Kelly Green (#02AB2E), ΔE 0.013 away. Black text reads best on it, at 6.55:1.

Hue familyGreens
Lightnessmedium-light (63%)
Chromavivid (0.206)
Temperaturein between
Nearest nameKelly Green (#02AB2E)
Black text6.55:1
White text3.20:1

Values

HEX#04A71F
RGBrgb(4, 167, 31)
HSLhsl(130, 95%, 34%)
OKLCHoklch(63.2% 0.206 143.7)

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 #04A71F 3.20:1 AA large text Lc -63.9 Content text, not long reading
Black text on #04A71F 6.55:1 AA Lc 45.6 Large or bold text, headings
#04A71F text on white 3.20:1 AA large text Lc 58.5 Large or bold text, headings
#04A71F text on black 6.55:1 AA Lc -43.3 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

    #F0F8F0

    oklch(97.1% 0.014 145.5)

  2. Step 100

    100

    #DFEFDE

    oklch(93.6% 0.028 143.7)

  3. Step 200

    200

    #C4E3C2

    oklch(88.4% 0.055 143.5)

  4. Step 300

    300

    #99D297

    oklch(80.9% 0.101 143.8)

  5. Step 400

    400

    #5ABA5A

    oklch(70.8% 0.162 143.6)

  6. Step 500

    500 (this color)

    #04A71F

    oklch(63.2% 0.206 143.7)

  7. Step 600

    600

    #008C17

    oklch(55.5% 0.182 143.7)

  8. Step 700

    700

    #007612

    oklch(49.1% 0.161 143.7)

  9. Step 800

    800

    #00610D

    oklch(42.7% 0.14 143.7)

  10. Step 900

    900

    #005109

    oklch(37.7% 0.123 143.7)

  11. Step 950

    950

    #023005

    oklch(26.9% 0.085 143.8)

Export this scale for Tailwind in the Tailwind colors tool

#04A71F 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)#AA96000.148
Deuteranopia (no green cones)#9B8C300.147
Tritanopia (no blue cones)#00A28E0.132
Achromatopsia (no color)#9090900.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #04A71F

    #04A71F

    oklch(63.2% 0.206 143.7)

  • #C353CF

    #C353CF

    oklch(63.3% 0.206 323.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04A71F

    #04A71F

    oklch(63.2% 0.206 143.7)

  • #8A9200

    #8A9200

    oklch(63.2% 0.142 113.6)

  • #00A184

    #00A184

    oklch(63.2% 0.121 173.8)

Open the analogous palette in the generator

Split complementary

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

  • #04A71F

    #04A71F

    oklch(63.2% 0.206 143.7)

  • #9468F8

    #9468F8

    oklch(63.3% 0.206 293.8)

  • #E14393

    #E14393

    oklch(63.2% 0.206 353.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04A71F

    #04A71F

    oklch(63.2% 0.206 143.7)

  • #4981FF

    #4981FF

    oklch(63.2% 0.197 263.7)

  • #ED4348

    #ED4348

    oklch(63.3% 0.206 23.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04A71F

    #04A71F

    oklch(63.2% 0.206 143.7)

  • #0095CD

    #0095CD

    oklch(63.1% 0.132 234.2)

  • #C353CF

    #C353CF

    oklch(63.3% 0.206 323.7)

  • #D16900

    #D16900

    oklch(63.2% 0.159 53.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #04A71F.

Similar named colors

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

Use #04A71F 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.