#1F7F0D

Closest named color: Tree Green (#2A7E19). oklch(52.2% 0.166 141.2), rgb(31, 127, 13).

Aa

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

About this color

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

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

Values

HEX#1F7F0D
RGBrgb(31, 127, 13)
HSLhsl(111, 81%, 27%)
OKLCHoklch(52.2% 0.166 141.2)

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 #1F7F0D 5.12:1 AA Lc -80.2 Fine for body text
Black text on #1F7F0D 4.09:1 AA large text Lc 29.3 Dividers and decoration only
#1F7F0D text on white 5.12:1 AA Lc 74.8 Content text, not long reading
#1F7F0D text on black 4.09:1 AA large text Lc -26.9 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CAE1C6

    oklch(88.5% 0.044 141)

  4. Step 300

    300

    #A4CE9E

    oklch(80.9% 0.08 141.5)

  5. Step 400

    400

    #71B467

    oklch(70.6% 0.128 141.2)

  6. Step 500

    500

    #47A13A

    oklch(63.2% 0.165 141.2)

  7. Step 600

    600

    #218B0C

    oklch(55.6% 0.179 141.2)

  8. Step 700

    700 (this color)

    #1F7F0D

    oklch(52.2% 0.166 141.2)

  9. Step 800

    800

    #146005

    oklch(42.7% 0.137 141.2)

  10. Step 900

    900

    #194F12

    oklch(37.8% 0.107 141.5)

  11. Step 950

    950

    #112E0C

    oklch(26.9% 0.068 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F7F0D 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)#8272000.115
Deuteranopia (no green cones)#786B1E0.114
Tritanopia (no blue cones)#017B6B0.109
Achromatopsia (no color)#6E6E6E0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F7F0D

    #1F7F0D

    oklch(52.2% 0.166 141.2)

  • #9341A2

    #9341A2

    oklch(52.2% 0.166 321.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F7F0D

    #1F7F0D

    oklch(52.2% 0.166 141.2)

  • #6D6F00

    #6D6F00

    oklch(52.2% 0.115 111)

  • #007C62

    #007C62

    oklch(52.2% 0.102 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F7F0D

    #1F7F0D

    oklch(52.2% 0.166 141.2)

  • #6D51C0

    #6D51C0

    oklch(52.2% 0.167 291.1)

  • #AB3575

    #AB3575

    oklch(52.2% 0.166 351)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F7F0D

    #1F7F0D

    oklch(52.2% 0.166 141.2)

  • #2D64C7

    #2D64C7

    oklch(52.2% 0.165 261)

  • #B5333D

    #B5333D

    oklch(52.1% 0.166 21)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F7F0D

    #1F7F0D

    oklch(52.2% 0.166 141.2)

  • #00739B

    #00739B

    oklch(52.1% 0.106 231.5)

  • #9341A2

    #9341A2

    oklch(52.2% 0.166 321.2)

  • #A44D00

    #A44D00

    oklch(52.1% 0.136 51.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #1F7F0D.

Similar named colors

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

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