#12792D

Closest named color: Tree Green (#2A7E19). oklch(50.4% 0.143 146.8), rgb(18, 121, 45).

Aa

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

About this color

#12792D is a medium-dark, vivid green. In OKLCH its lightness is 50%, its chroma 0.143 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.027 away. White text reads best on it, at 5.52:1.

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

Values

HEX#12792D
RGBrgb(18, 121, 45)
HSLhsl(136, 74%, 27%)
OKLCHoklch(50.4% 0.143 146.8)

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 #12792D 5.52:1 AA Lc -82.4 Fine for body text
Black text on #12792D 3.79:1 AA large text Lc 27.0 Dividers and decoration only
#12792D text on white 5.52:1 AA Lc 77.1 Fine for body text
#12792D text on black 3.79:1 AA large text Lc -24.7 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

    #C9E0CB

    oklch(88.4% 0.038 147.7)

  4. Step 300

    300

    #A4CDA7

    oklch(80.9% 0.068 146.8)

  5. Step 400

    400

    #70B377

    oklch(70.6% 0.11 146.8)

  6. Step 500

    500

    #45A053

    oklch(63.2% 0.142 146.7)

  7. Step 600

    600

    #1C8A37

    oklch(55.6% 0.154 146.9)

  8. Step 700

    700 (this color)

    #12792D

    oklch(50.4% 0.143 146.8)

  9. Step 800

    800

    #105F23

    oklch(42.6% 0.118 146.8)

  10. Step 900

    900

    #184E22

    oklch(37.7% 0.092 146.9)

  11. Step 950

    950

    #102E14

    oklch(27% 0.059 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#12792D 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)#7B6D250.111
Deuteranopia (no green cones)#7066330.110
Tritanopia (no blue cones)#0076690.086
Achromatopsia (no color)#6969690.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #12792D

    #12792D

    oklch(50.4% 0.143 146.8)

  • #8D428E

    #8D428E

    oklch(50.4% 0.142 326.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12792D

    #12792D

    oklch(50.4% 0.143 146.8)

  • #616C00

    #616C00

    oklch(50.4% 0.116 116.5)

  • #007663

    #007663

    oklch(50.6% 0.094 176.3)

Open the analogous palette in the generator

Split complementary

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

  • #12792D

    #12792D

    oklch(50.4% 0.143 146.8)

  • #6E4EAB

    #6E4EAB

    oklch(50.3% 0.144 296.8)

  • #A03A66

    #A03A66

    oklch(50.4% 0.142 356.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12792D

    #12792D

    oklch(50.4% 0.143 146.8)

  • #3F5EB5

    #3F5EB5

    oklch(50.5% 0.142 266.6)

  • #A73B35

    #A73B35

    oklch(50.5% 0.144 26.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12792D

    #12792D

    oklch(50.4% 0.143 146.8)

  • #006C9B

    #006C9B

    oklch(50.4% 0.11 237.3)

  • #8D428E

    #8D428E

    oklch(50.4% 0.142 326.9)

  • #974F00

    #974F00

    oklch(50.5% 0.122 57.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #12792D 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.