#028212

Closest named color: Green (#008000). oklch(52.6% 0.173 143.4), rgb(2, 130, 18).

Aa

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

About this color

#028212 is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.173 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green (#008000), ΔE 0.008 away. White text reads best on it, at 4.99:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.173)
Temperaturein between
Nearest nameGreen (#008000)
Black text4.20:1
White text4.99:1

Values

HEX#028212
RGBrgb(2, 130, 18)
HSLhsl(128, 97%, 26%)
OKLCHoklch(52.6% 0.173 143.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 #028212 4.99:1 AA Lc -79.2 Fine for body text
Black text on #028212 4.20:1 AA large text Lc 30.3 Non-text elements, placeholder text
#028212 text on white 4.99:1 AA Lc 73.8 Content text, not long reading
#028212 text on black 4.20:1 AA large text Lc -27.9 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 600.

  1. Step 50

    50

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C9E1C7

    oklch(88.5% 0.043 143.1)

  4. Step 300

    300

    #A3CEA1

    oklch(80.9% 0.077 143.7)

  5. Step 400

    400

    #6FB46C

    oklch(70.6% 0.124 143.2)

  6. Step 500

    500

    #43A143

    oklch(63.1% 0.159 143.4)

  7. Step 600

    600 (this color)

    #028212

    oklch(52.6% 0.173 143.4)

  8. Step 700

    700

    #037610

    oklch(49.1% 0.161 143.4)

  9. Step 800

    800

    #0D6012

    oklch(42.7% 0.133 143.4)

  10. Step 900

    900

    #174F18

    oklch(37.8% 0.104 143.4)

  11. Step 950

    950

    #0F2E0F

    oklch(26.9% 0.066 143.5)

Export this scale for Tailwind in the Tailwind colors tool

#028212 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)#8574000.125
Deuteranopia (no green cones)#796C210.124
Tritanopia (no blue cones)#007E6E0.111
Achromatopsia (no color)#6F6F6F0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #028212

    #028212

    oklch(52.6% 0.173 143.4)

  • #983FA3

    #983FA3

    oklch(52.7% 0.173 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #028212

    #028212

    oklch(52.6% 0.173 143.4)

  • #6B7100

    #6B7100

    oklch(52.6% 0.118 113.4)

  • #007D66

    #007D66

    oklch(52.6% 0.1 173.8)

Open the analogous palette in the generator

Split complementary

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

  • #028212

    #028212

    oklch(52.6% 0.173 143.4)

  • #724FC3

    #724FC3

    oklch(52.5% 0.173 293.4)

  • #B03273

    #B03273

    oklch(52.6% 0.173 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #028212

    #028212

    oklch(52.6% 0.173 143.4)

  • #3363CD

    #3363CD

    oklch(52.7% 0.173 263.3)

  • #BA3137

    #BA3137

    oklch(52.7% 0.173 23.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #028212

    #028212

    oklch(52.6% 0.173 143.4)

  • #00749F

    #00749F

    oklch(52.6% 0.109 233.2)

  • #983FA3

    #983FA3

    oklch(52.7% 0.173 323.1)

  • #A45000

    #A45000

    oklch(52.6% 0.134 53)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #028212 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.