#127D2A

Closest named color: Tree Green (#2A7E19). oklch(51.6% 0.151 145.9), rgb(18, 125, 42).

Aa

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

About this color

#127D2A is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.151 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.016 away. White text reads best on it, at 5.25:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromavivid (0.151)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.99:1
White text5.25:1

Values

HEX#127D2A
RGBrgb(18, 125, 42)
HSLhsl(133, 75%, 28%)
OKLCHoklch(51.6% 0.151 145.9)

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 #127D2A 5.25:1 AA Lc -81.0 Fine for body text
Black text on #127D2A 3.99:1 AA large text Lc 28.5 Dividers and decoration only
#127D2A text on white 5.25:1 AA Lc 75.6 Fine for body text
#127D2A text on black 3.99:1 AA large text Lc -26.1 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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C9E1C9

    oklch(88.5% 0.041 145.2)

  4. Step 300

    300

    #A3CEA5

    oklch(81% 0.073 146.1)

  5. Step 400

    400

    #6EB474

    oklch(70.7% 0.116 146.2)

  6. Step 500

    500

    #42A04E

    oklch(63% 0.148 145.9)

  7. Step 600

    600

    #168B30

    oklch(55.7% 0.162 145.9)

  8. Step 700

    700 (this color)

    #127D2A

    oklch(51.6% 0.151 145.9)

  9. Step 800

    800

    #0B601E

    oklch(42.8% 0.125 145.8)

  10. Step 900

    900

    #164F1F

    oklch(37.8% 0.097 146)

  11. Step 950

    950

    #0F2E13

    oklch(27% 0.061 146.2)

Export this scale for Tailwind in the Tailwind colors tool

#127D2A 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)#7F71200.114
Deuteranopia (no green cones)#7469310.114
Tritanopia (no blue cones)#007A6C0.092
Achromatopsia (no color)#6C6C6C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #127D2A

    #127D2A

    oklch(51.6% 0.151 145.9)

  • #924395

    #924395

    oklch(51.6% 0.15 326.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #127D2A

    #127D2A

    oklch(51.6% 0.151 145.9)

  • #656F00

    #656F00

    oklch(51.5% 0.118 115.8)

  • #007965

    #007965

    oklch(51.5% 0.096 175.8)

Open the analogous palette in the generator

Split complementary

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

  • #127D2A

    #127D2A

    oklch(51.6% 0.151 145.9)

  • #7150B3

    #7150B3

    oklch(51.5% 0.151 296)

  • #A63A6B

    #A63A6B

    oklch(51.6% 0.15 355.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #127D2A

    #127D2A

    oklch(51.6% 0.151 145.9)

  • #3E61BD

    #3E61BD

    oklch(51.6% 0.15 265.7)

  • #AD3B37

    #AD3B37

    oklch(51.5% 0.15 25.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #127D2A

    #127D2A

    oklch(51.6% 0.151 145.9)

  • #00709E

    #00709E

    oklch(51.5% 0.111 235.8)

  • #924395

    #924395

    oklch(51.6% 0.15 326.1)

  • #9D5000

    #9D5000

    oklch(51.6% 0.127 55.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #127D2A 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.