#027C20

Closest named color: Tree Green (#2A7E19). oklch(51% 0.159 145.1), rgb(2, 124, 32).

Aa

White text reads best on this color (5.37:1).

About this color

#027C20 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.159 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.018 away. White text reads best on it, at 5.37:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.159)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.90:1
White text5.37:1

Values

HEX#027C20
RGBrgb(2, 124, 32)
HSLhsl(135, 97%, 25%)
OKLCHoklch(51% 0.159 145.1)

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 #027C20 5.37:1 AA Lc -81.5 Fine for body text
Black text on #027C20 3.90:1 AA large text Lc 28.0 Dividers and decoration only
#027C20 text on white 5.37:1 AA Lc 76.1 Fine for body text
#027C20 text on black 3.90:1 AA large text Lc -25.6 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C8E1C8

    oklch(88.4% 0.043 145.2)

  4. Step 300

    300

    #A2CEA2

    oklch(80.8% 0.077 144.8)

  5. Step 400

    400

    #6CB56F

    oklch(70.7% 0.124 145)

  6. Step 500

    500

    #3EA148

    oklch(63% 0.157 145.2)

  7. Step 600

    600

    #0A8B27

    oklch(55.5% 0.171 145.1)

  8. Step 700

    700 (this color)

    #027C20

    oklch(51% 0.159 145.1)

  9. Step 800

    800

    #046018

    oklch(42.6% 0.131 145.1)

  10. Step 900

    900

    #134F1B

    oklch(37.7% 0.102 145.2)

  11. Step 950

    950

    #0E2E11

    oklch(26.9% 0.064 145.2)

Export this scale for Tailwind in the Tailwind colors tool

#027C20 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)#7E6F110.118
Deuteranopia (no green cones)#7367290.119
Tritanopia (no blue cones)#00796A0.099
Achromatopsia (no color)#6A6A6A0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #027C20

    #027C20

    oklch(51% 0.159 145.1)

  • #913E97

    #913E97

    oklch(50.9% 0.159 324.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #027C20

    #027C20

    oklch(51% 0.159 145.1)

  • #646D00

    #646D00

    oklch(50.9% 0.116 115.3)

  • #007863

    #007863

    oklch(51.1% 0.097 174.8)

Open the analogous palette in the generator

Split complementary

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

  • #027C20

    #027C20

    oklch(51% 0.159 145.1)

  • #6F4DB6

    #6F4DB6

    oklch(51% 0.16 295.1)

  • #A7346A

    #A7346A

    oklch(51% 0.158 355.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #027C20

    #027C20

    oklch(51% 0.159 145.1)

  • #385EC0

    #385EC0

    oklch(50.9% 0.16 265.2)

  • #AF3434

    #AF3434

    oklch(51% 0.16 24.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #027C20

    #027C20

    oklch(51% 0.159 145.1)

  • #006F9B

    #006F9B

    oklch(51.1% 0.108 234.8)

  • #913E97

    #913E97

    oklch(50.9% 0.159 324.9)

  • #9B4E00

    #9B4E00

    oklch(50.9% 0.126 54.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #027C20.

Similar named colors

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

Use #027C20 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.