#2A8D04

Closest named color: Emerald Green (#028F1E). oklch(56.4% 0.18 140.1), rgb(42, 141, 4).

Aa

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

About this color

#2A8D04 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.180 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Emerald Green (#028F1E), ΔE 0.013 away. Black text reads best on it, at 4.91:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.180)
Temperaturein between
Nearest nameEmerald Green (#028F1E)
Black text4.91:1
White text4.27:1

Values

HEX#2A8D04
RGBrgb(42, 141, 4)
HSLhsl(103, 94%, 28%)
OKLCHoklch(56.4% 0.18 140.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 #2A8D04 4.27:1 AA large text Lc -74.5 Content text, not long reading
Black text on #2A8D04 4.91:1 AA Lc 35.0 Non-text elements, placeholder text
#2A8D04 text on white 4.27:1 AA large text Lc 69.0 Content text, not long reading
#2A8D04 text on black 4.91:1 AA Lc -32.6 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

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E2EEDF

    oklch(93.6% 0.024 139.4)

  3. Step 200

    200

    #CAE1C5

    oklch(88.5% 0.045 140.1)

  4. Step 300

    300

    #A5CE9C

    oklch(80.9% 0.081 140)

  5. Step 400

    400

    #73B465

    oklch(70.7% 0.129 140.1)

  6. Step 500

    500

    #4AA036

    oklch(63% 0.165 140.1)

  7. Step 600

    600 (this color)

    #2A8D04

    oklch(56.4% 0.18 140.1)

  8. Step 700

    700

    #207400

    oklch(49% 0.158 140)

  9. Step 800

    800

    #196000

    oklch(42.8% 0.138 140)

  10. Step 900

    900

    #1C4F0E

    oklch(37.9% 0.109 139.9)

  11. Step 950

    950

    #122E0B

    oklch(27% 0.068 139.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A8D04 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)#917F000.122
Deuteranopia (no green cones)#86771D0.121
Tritanopia (no blue cones)#1788770.121
Achromatopsia (no color)#7A7A7A0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A8D04

    #2A8D04

    oklch(56.4% 0.18 140.1)

  • #A249B6

    #A249B6

    oklch(56.3% 0.181 319.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A8D04

    #2A8D04

    oklch(56.4% 0.18 140.1)

  • #7B7B00

    #7B7B00

    oklch(56.4% 0.123 109.8)

  • #008A6C

    #008A6C

    oklch(56.4% 0.111 170.5)

Open the analogous palette in the generator

Split complementary

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

  • #2A8D04

    #2A8D04

    oklch(56.4% 0.18 140.1)

  • #785BD6

    #785BD6

    oklch(56.4% 0.181 290.2)

  • #BE3C84

    #BE3C84

    oklch(56.5% 0.18 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A8D04

    #2A8D04

    oklch(56.4% 0.18 140.1)

  • #2E70DD

    #2E70DD

    oklch(56.4% 0.18 260)

  • #CA3947

    #CA3947

    oklch(56.5% 0.181 20)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A8D04

    #2A8D04

    oklch(56.4% 0.18 140.1)

  • #0081AB

    #0081AB

    oklch(56.5% 0.113 230)

  • #A249B6

    #A249B6

    oklch(56.3% 0.181 319.9)

  • #B85500

    #B85500

    oklch(56.4% 0.149 50)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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