#0D7C02

Closest named color: Green (#008000). oklch(50.9% 0.17 142), rgb(13, 124, 2).

Aa

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

About this color

#0D7C02 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.170 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green (#008000), ΔE 0.012 away. White text reads best on it, at 5.38:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.170)
Temperaturein between
Nearest nameGreen (#008000)
Black text3.90:1
White text5.38:1

Values

HEX#0D7C02
RGBrgb(13, 124, 2)
HSLhsl(115, 97%, 25%)
OKLCHoklch(50.9% 0.17 142)

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 #0D7C02 5.38:1 AA Lc -81.5 Fine for body text
Black text on #0D7C02 3.90:1 AA large text Lc 27.9 Dividers and decoration only
#0D7C02 text on white 5.38:1 AA Lc 76.2 Fine for body text
#0D7C02 text on black 3.90:1 AA large text Lc -25.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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C9E1C6

    oklch(88.5% 0.045 142.1)

  4. Step 300

    300

    #A3CF9D

    oklch(81% 0.083 141.7)

  5. Step 400

    400

    #6EB567

    oklch(70.7% 0.131 142.1)

  6. Step 500

    500

    #41A239

    oklch(63.2% 0.169 142.1)

  7. Step 600

    600

    #158C09

    oklch(55.7% 0.184 142)

  8. Step 700

    700 (this color)

    #0D7C02

    oklch(50.9% 0.17 142)

  9. Step 800

    800

    #0B6104

    oklch(42.9% 0.141 142)

  10. Step 900

    900

    #164F11

    oklch(37.7% 0.11 142)

  11. Step 950

    950

    #0F2E0C

    oklch(26.8% 0.069 141.9)

Export this scale for Tailwind in the Tailwind colors tool

#0D7C02 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)#7F6F000.120
Deuteranopia (no green cones)#7467180.119
Tritanopia (no blue cones)#0078680.111
Achromatopsia (no color)#6A6A6A0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D7C02

    #0D7C02

    oklch(50.9% 0.17 142)

  • #913B9E

    #913B9E

    oklch(51% 0.17 322.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D7C02

    #0D7C02

    oklch(50.9% 0.17 142)

  • #686C00

    #686C00

    oklch(51.1% 0.113 112.3)

  • #00785F

    #00785F

    oklch(51% 0.099 171.6)

Open the analogous palette in the generator

Split complementary

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

  • #0D7C02

    #0D7C02

    oklch(50.9% 0.17 142)

  • #6B4CBD

    #6B4CBD

    oklch(51% 0.17 291.9)

  • #A92E70

    #A92E70

    oklch(51% 0.17 352)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D7C02

    #0D7C02

    oklch(50.9% 0.17 142)

  • #2A5FC6

    #2A5FC6

    oklch(51% 0.171 261.9)

  • #B32C36

    #B32C36

    oklch(50.9% 0.171 22)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D7C02

    #0D7C02

    oklch(50.9% 0.17 142)

  • #006F97

    #006F97

    oklch(50.9% 0.104 232.3)

  • #913B9E

    #913B9E

    oklch(51% 0.17 322.2)

  • #9E4B00

    #9E4B00

    oklch(50.9% 0.131 51.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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