#02771A

Closest named color: Tree Green (#2A7E19). oklch(49.5% 0.157 144.5), rgb(2, 119, 26).

Aa

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

About this color

#02771A is a medium-dark, vivid green. In OKLCH its lightness is 49%, its chroma 0.157 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.030 away. White text reads best on it, at 5.74:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromavivid (0.157)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.65:1
White text5.74:1

Values

HEX#02771A
RGBrgb(2, 119, 26)
HSLhsl(132, 97%, 24%)
OKLCHoklch(49.5% 0.157 144.5)

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 #02771A 5.74:1 AA Lc -83.3 Fine for body text
Black text on #02771A 3.65:1 AA large text Lc 26.0 Dividers and decoration only
#02771A text on white 5.74:1 AA Lc 78.1 Fine for body text
#02771A text on black 3.65:1 AA large text Lc -23.7 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

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A3CEA2

    oklch(80.9% 0.076 144.3)

  5. Step 400

    400

    #6EB46F

    oklch(70.6% 0.122 144.5)

  6. Step 500

    500

    #42A148

    oklch(63.2% 0.155 144.6)

  7. Step 600

    600

    #158B27

    oklch(55.6% 0.169 144.6)

  8. Step 700

    700 (this color)

    #02771A

    oklch(49.5% 0.157 144.5)

  9. Step 800

    800

    #0B6018

    oklch(42.7% 0.13 144.6)

  10. Step 900

    900

    #164F1B

    oklch(37.8% 0.101 144.6)

  11. Step 950

    950

    #0F2E11

    oklch(26.9% 0.063 144.7)

Export this scale for Tailwind in the Tailwind colors tool

#02771A 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)#796B070.114
Deuteranopia (no green cones)#6E63240.115
Tritanopia (no blue cones)#0074650.098
Achromatopsia (no color)#6666660.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #02771A

    #02771A

    oklch(49.5% 0.157 144.5)

  • #8C3B92

    #8C3B92

    oklch(49.6% 0.156 324.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02771A

    #02771A

    oklch(49.5% 0.157 144.5)

  • #616800

    #616800

    oklch(49.4% 0.111 114.3)

  • #00735E

    #00735E

    oklch(49.6% 0.094 174.1)

Open the analogous palette in the generator

Split complementary

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

  • #02771A

    #02771A

    oklch(49.5% 0.157 144.5)

  • #6A49B0

    #6A49B0

    oklch(49.5% 0.157 294.7)

  • #A13067

    #A13067

    oklch(49.5% 0.157 354.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02771A

    #02771A

    oklch(49.5% 0.157 144.5)

  • #335ABA

    #335ABA

    oklch(49.4% 0.158 264.6)

  • #A93031

    #A93031

    oklch(49.5% 0.157 24.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02771A

    #02771A

    oklch(49.5% 0.157 144.5)

  • #006A94

    #006A94

    oklch(49.5% 0.104 234.7)

  • #8C3B92

    #8C3B92

    oklch(49.6% 0.156 324.9)

  • #954A00

    #954A00

    oklch(49.4% 0.123 54.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #02771A.

Similar named colors

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

Use #02771A 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.