#127E2F

Closest named color: Tree Green (#2A7E19). oklch(51.9% 0.148 146.9), rgb(18, 126, 47).

Aa

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

About this color

#127E2F is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.148 and its hue 147°. 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.18:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromavivid (0.148)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.05:1
White text5.18:1

Values

HEX#127E2F
RGBrgb(18, 126, 47)
HSLhsl(136, 75%, 28%)
OKLCHoklch(51.9% 0.148 146.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 #127E2F 5.18:1 AA Lc -80.5 Fine for body text
Black text on #127E2F 4.05:1 AA large text Lc 28.9 Dividers and decoration only
#127E2F text on white 5.18:1 AA Lc 75.2 Fine for body text
#127E2F text on black 4.05:1 AA large text Lc -26.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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C9E1CA

    oklch(88.6% 0.04 146.4)

  4. Step 300

    300

    #A3CEA6

    oklch(81% 0.072 146.7)

  5. Step 400

    400

    #6EB476

    oklch(70.7% 0.114 146.9)

  6. Step 500

    500

    #41A051

    oklch(63% 0.146 146.9)

  7. Step 600

    600

    #148B34

    oklch(55.7% 0.159 146.8)

  8. Step 700

    700 (this color)

    #127E2F

    oklch(51.9% 0.148 146.9)

  9. Step 800

    800

    #0A6021

    oklch(42.8% 0.123 146.7)

  10. Step 900

    900

    #154F21

    oklch(37.8% 0.096 147.1)

  11. Step 950

    950

    #0F2E14

    oklch(27% 0.06 146.9)

Export this scale for Tailwind in the Tailwind colors tool

#127E2F 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)#8072270.115
Deuteranopia (no green cones)#746A360.113
Tritanopia (no blue cones)#007B6D0.088
Achromatopsia (no color)#6D6D6D0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #127E2F

    #127E2F

    oklch(51.9% 0.148 146.9)

  • #934494

    #934494

    oklch(51.8% 0.148 327)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #127E2F

    #127E2F

    oklch(51.9% 0.148 146.9)

  • #657100

    #657100

    oklch(52% 0.12 116.8)

  • #007A67

    #007A67

    oklch(51.8% 0.096 176.8)

Open the analogous palette in the generator

Split complementary

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

  • #127E2F

    #127E2F

    oklch(51.9% 0.148 146.9)

  • #7352B2

    #7352B2

    oklch(52% 0.147 296.8)

  • #A73C6A

    #A73C6A

    oklch(51.9% 0.148 356.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #127E2F

    #127E2F

    oklch(51.9% 0.148 146.9)

  • #4262BD

    #4262BD

    oklch(52% 0.148 266.7)

  • #AE3E37

    #AE3E37

    oklch(52% 0.148 27)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #127E2F

    #127E2F

    oklch(51.9% 0.148 146.9)

  • #0071A1

    #0071A1

    oklch(52% 0.113 236.7)

  • #934494

    #934494

    oklch(51.8% 0.148 327)

  • #9D5200

    #9D5200

    oklch(51.9% 0.126 56.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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