#0C7E2D

Closest named color: Tree Green (#2A7E19). oklch(51.8% 0.15 146.8), rgb(12, 126, 45).

Aa

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

About this color

#0C7E2D is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.150 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.017 away. White text reads best on it, at 5.20:1.

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

Values

HEX#0C7E2D
RGBrgb(12, 126, 45)
HSLhsl(137, 83%, 27%)
OKLCHoklch(51.8% 0.15 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 #0C7E2D 5.20:1 AA Lc -80.6 Fine for body text
Black text on #0C7E2D 4.03:1 AA large text Lc 28.9 Dividers and decoration only
#0C7E2D text on white 5.20:1 AA Lc 75.2 Fine for body text
#0C7E2D text on black 4.03:1 AA large text Lc -26.5 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

    #A2CEA5

    oklch(80.9% 0.074 146.6)

  5. Step 400

    400

    #6DB475

    oklch(70.7% 0.116 146.8)

  6. Step 500

    500

    #3FA150

    oklch(63.2% 0.149 146.9)

  7. Step 600

    600

    #0E8B32

    oklch(55.6% 0.162 146.7)

  8. Step 700

    700 (this color)

    #0C7E2D

    oklch(51.8% 0.15 146.8)

  9. Step 800

    800

    #066020

    oklch(42.7% 0.125 146.8)

  10. Step 900

    900

    #144F20

    oklch(37.8% 0.097 146.9)

  11. Step 950

    950

    #0E2E13

    oklch(26.9% 0.062 146.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C7E2D 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)#8072240.116
Deuteranopia (no green cones)#7469340.116
Tritanopia (no blue cones)#007B6D0.090
Achromatopsia (no color)#6D6D6D0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C7E2D

    #0C7E2D

    oklch(51.8% 0.15 146.8)

  • #934395

    #934395

    oklch(51.8% 0.151 326.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C7E2D

    #0C7E2D

    oklch(51.8% 0.15 146.8)

  • #647000

    #647000

    oklch(51.7% 0.119 116.9)

  • #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°).

  • #0C7E2D

    #0C7E2D

    oklch(51.8% 0.15 146.8)

  • #7351B3

    #7351B3

    oklch(51.9% 0.15 296.9)

  • #A83A6A

    #A83A6A

    oklch(51.8% 0.151 356.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C7E2D

    #0C7E2D

    oklch(51.8% 0.15 146.8)

  • #4161BE

    #4161BE

    oklch(51.8% 0.151 266.8)

  • #AE3C36

    #AE3C36

    oklch(51.8% 0.15 26.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C7E2D

    #0C7E2D

    oklch(51.8% 0.15 146.8)

  • #0071A0

    #0071A0

    oklch(51.9% 0.112 236.2)

  • #934395

    #934395

    oklch(51.8% 0.151 326.5)

  • #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 #0C7E2D, closest first.

No curated palette has a color within ΔE 0.04 of #0C7E2D.

Similar named colors

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

Use #0C7E2D 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.