#1C7828

Closest named color: Tree Green (#2A7E19). oklch(50.3% 0.143 144.9), rgb(28, 120, 40).

Aa

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

About this color

#1C7828 is a medium-dark, vivid green. In OKLCH its lightness is 50%, its chroma 0.143 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.026 away. White text reads best on it, at 5.57:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromavivid (0.143)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.76:1
White text5.57:1

Values

HEX#1C7828
RGBrgb(28, 120, 40)
HSLhsl(128, 62%, 29%)
OKLCHoklch(50.3% 0.143 144.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 #1C7828 5.57:1 AA Lc -82.7 Fine for body text
Black text on #1C7828 3.76:1 AA large text Lc 26.7 Dividers and decoration only
#1C7828 text on white 5.57:1 AA Lc 77.4 Fine for body text
#1C7828 text on black 3.76:1 AA large text Lc -24.4 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CAE0CA

    oklch(88.4% 0.038 145.2)

  4. Step 300

    300

    #A5CDA5

    oklch(80.9% 0.07 144.9)

  5. Step 400

    400

    #73B375

    oklch(70.7% 0.111 145)

  6. Step 500

    500

    #4A9F50

    oklch(63% 0.141 145)

  7. Step 600

    600

    #268932

    oklch(55.5% 0.154 144.9)

  8. Step 700

    700 (this color)

    #1C7828

    oklch(50.3% 0.143 144.9)

  9. Step 800

    800

    #175F20

    oklch(42.7% 0.119 145)

  10. Step 900

    900

    #1C4E20

    oklch(37.8% 0.092 144.9)

  11. Step 950

    950

    #122E13

    oklch(27.1% 0.059 144.4)

Export this scale for Tailwind in the Tailwind colors tool

#1C7828 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)#7A6C1E0.107
Deuteranopia (no green cones)#70652F0.107
Tritanopia (no blue cones)#0075670.088
Achromatopsia (no color)#6868680.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #1C7828

    #1C7828

    oklch(50.3% 0.143 144.9)

  • #8B4290

    #8B4290

    oklch(50.3% 0.143 325)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1C7828

    #1C7828

    oklch(50.3% 0.143 144.9)

  • #636B00

    #636B00

    oklch(50.4% 0.114 114.8)

  • #007561

    #007561

    oklch(50.2% 0.094 175.3)

Open the analogous palette in the generator

Split complementary

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

  • #1C7828

    #1C7828

    oklch(50.3% 0.143 144.9)

  • #6B4FAC

    #6B4FAC

    oklch(50.3% 0.143 294.6)

  • #9F3968

    #9F3968

    oklch(50.2% 0.143 355)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1C7828

    #1C7828

    oklch(50.3% 0.143 144.9)

  • #3A5EB5

    #3A5EB5

    oklch(50.2% 0.144 264.8)

  • #A63A38

    #A63A38

    oklch(50.2% 0.143 24.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1C7828

    #1C7828

    oklch(50.3% 0.143 144.9)

  • #006C98

    #006C98

    oklch(50.2% 0.107 235.5)

  • #8B4290

    #8B4290

    oklch(50.3% 0.143 325)

  • #984D00

    #984D00

    oklch(50.3% 0.124 55.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1C7828 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.