#2A8F27

Closest named color: Forest Green (#228B22). oklch(57.1% 0.168 142.6), rgb(42, 143, 39).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.168)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text5.05:1
White text4.15:1

Values

HEX#2A8F27
RGBrgb(42, 143, 39)
HSLhsl(118, 57%, 36%)
OKLCHoklch(57.1% 0.168 142.6)

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 #2A8F27 4.15:1 AA large text Lc -73.6 Content text, not long reading
Black text on #2A8F27 5.05:1 AA Lc 36.0 Non-text elements, placeholder text
#2A8F27 text on white 4.15:1 AA large text Lc 68.1 Content text, not long reading
#2A8F27 text on black 5.05:1 AA Lc -33.5 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

    #CAE1C7

    oklch(88.6% 0.043 142)

  4. Step 300

    300

    #A5CEA1

    oklch(81% 0.076 142.5)

  5. Step 400

    400

    #72B46D

    oklch(70.8% 0.121 142.6)

  6. Step 500

    500

    #49A044

    oklch(63.1% 0.154 142.5)

  7. Step 600

    600 (this color)

    #2A8F27

    oklch(57.1% 0.168 142.6)

  8. Step 700

    700

    #147512

    oklch(49.1% 0.156 142.6)

  9. Step 800

    800

    #155F14

    oklch(42.5% 0.129 142.7)

  10. Step 900

    900

    #1B4E18

    oklch(37.6% 0.1 142.4)

  11. Step 950

    950

    #112E0F

    oklch(27% 0.064 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A8F27 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)#9281160.119
Deuteranopia (no green cones)#8679310.119
Tritanopia (no blue cones)#0E8B7A0.107
Achromatopsia (no color)#7C7C7C0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A8F27

    #2A8F27

    oklch(57.1% 0.168 142.6)

  • #A54FB0

    #A54FB0

    oklch(57.2% 0.168 323)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A8F27

    #2A8F27

    oklch(57.1% 0.168 142.6)

  • #797F00

    #797F00

    oklch(57.2% 0.128 113.1)

  • #008C71

    #008C71

    oklch(57.1% 0.11 172.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A8F27

    #2A8F27

    oklch(57.1% 0.168 142.6)

  • #7D5FD0

    #7D5FD0

    oklch(57.1% 0.168 292.5)

  • #BE4481

    #BE4481

    oklch(57.2% 0.168 352.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A8F27

    #2A8F27

    oklch(57.1% 0.168 142.6)

  • #3F72D9

    #3F72D9

    oklch(57.2% 0.167 262.5)

  • #C74347

    #C74347

    oklch(57% 0.168 22.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A8F27

    #2A8F27

    oklch(57.1% 0.168 142.6)

  • #0082B1

    #0082B1

    oklch(57.1% 0.118 232.8)

  • #A54FB0

    #A54FB0

    oklch(57.2% 0.168 323)

  • #B85A00

    #B85A00

    oklch(57.2% 0.146 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 #2A8F27, closest first.

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

Similar named colors

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

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