#2F8D2A

Closest named color: Forest Green (#228B22). oklch(56.7% 0.162 142.4), rgb(47, 141, 42).

Aa

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

About this color

#2F8D2A is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.162 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.012 away. Black text reads best on it, at 4.96:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.162)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.96:1
White text4.23:1

Values

HEX#2F8D2A
RGBrgb(47, 141, 42)
HSLhsl(117, 54%, 36%)
OKLCHoklch(56.7% 0.162 142.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 #2F8D2A 4.23:1 AA large text Lc -74.3 Content text, not long reading
Black text on #2F8D2A 4.96:1 AA Lc 35.3 Non-text elements, placeholder text
#2F8D2A text on white 4.23:1 AA large text Lc 68.8 Content text, not long reading
#2F8D2A text on black 4.96:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CBE0C8

    oklch(88.4% 0.039 141.7)

  4. Step 300

    300

    #A6CDA2

    oklch(80.9% 0.073 142.4)

  5. Step 400

    400

    #74B36F

    oklch(70.7% 0.116 142.6)

  6. Step 500

    500

    #4D9F47

    oklch(63% 0.148 142.3)

  7. Step 600

    600 (this color)

    #2F8D2A

    oklch(56.7% 0.162 142.4)

  8. Step 700

    700

    #1C7418

    oklch(49% 0.149 142.4)

  9. Step 800

    800

    #1B5F17

    oklch(42.7% 0.124 142.3)

  10. Step 900

    900

    #1D4E1A

    oklch(37.7% 0.097 142.4)

  11. Step 950

    950

    #122E10

    oklch(27.1% 0.063 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F8D2A 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)#90801C0.114
Deuteranopia (no green cones)#8578330.115
Tritanopia (no blue cones)#1B89790.104
Achromatopsia (no color)#7B7B7B0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F8D2A

    #2F8D2A

    oklch(56.7% 0.162 142.4)

  • #A250AD

    #A250AD

    oklch(56.8% 0.161 322.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F8D2A

    #2F8D2A

    oklch(56.7% 0.162 142.4)

  • #797D00

    #797D00

    oklch(56.7% 0.126 112)

  • #008B70

    #008B70

    oklch(56.7% 0.109 172.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F8D2A

    #2F8D2A

    oklch(56.7% 0.162 142.4)

  • #7B5FCC

    #7B5FCC

    oklch(56.6% 0.162 292.3)

  • #BA4580

    #BA4580

    oklch(56.7% 0.162 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F8D2A

    #2F8D2A

    oklch(56.7% 0.162 142.4)

  • #4071D4

    #4071D4

    oklch(56.6% 0.162 262.6)

  • #C44549

    #C44549

    oklch(56.8% 0.162 22.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F8D2A

    #2F8D2A

    oklch(56.7% 0.162 142.4)

  • #0081AF

    #0081AF

    oklch(56.7% 0.116 232.4)

  • #A250AD

    #A250AD

    oklch(56.8% 0.161 322.8)

  • #B65900

    #B65900

    oklch(56.7% 0.145 52.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2F8D2A.

Similar named colors

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

Use #2F8D2A 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.