#1F7C08

Closest named color: Tree Green (#2A7E19). oklch(51.3% 0.164 140.9), rgb(31, 124, 8).

Aa

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

About this color

#1F7C08 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.164 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.013 away. White text reads best on it, at 5.32:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.164)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.94:1
White text5.32:1

Values

HEX#1F7C08
RGBrgb(31, 124, 8)
HSLhsl(108, 88%, 26%)
OKLCHoklch(51.3% 0.164 140.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 #1F7C08 5.32:1 AA Lc -81.3 Fine for body text
Black text on #1F7C08 3.94:1 AA large text Lc 28.1 Dividers and decoration only
#1F7C08 text on white 5.32:1 AA Lc 76.0 Fine for body text
#1F7C08 text on black 3.94:1 AA large text Lc -25.8 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

    #A5CE9E

    oklch(80.9% 0.079 141)

  5. Step 400

    400

    #72B467

    oklch(70.7% 0.127 140.9)

  6. Step 500

    500

    #49A03A

    oklch(63% 0.162 140.9)

  7. Step 600

    600

    #258B0D

    oklch(55.7% 0.177 140.9)

  8. Step 700

    700 (this color)

    #1F7C08

    oklch(51.3% 0.164 140.9)

  9. Step 800

    800

    #166006

    oklch(42.8% 0.136 141)

  10. Step 900

    900

    #1B4E12

    oklch(37.6% 0.105 140.9)

  11. Step 950

    950

    #112E0C

    oklch(26.9% 0.068 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F7C08 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.113
Deuteranopia (no green cones)#75681B0.112
Tritanopia (no blue cones)#0478690.109
Achromatopsia (no color)#6B6B6B0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F7C08

    #1F7C08

    oklch(51.3% 0.164 140.9)

  • #8F3F9F

    #8F3F9F

    oklch(51.2% 0.164 320.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F7C08

    #1F7C08

    oklch(51.3% 0.164 140.9)

  • #6A6C00

    #6A6C00

    oklch(51.2% 0.113 111)

  • #00795F

    #00795F

    oklch(51.3% 0.1 171)

Open the analogous palette in the generator

Split complementary

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

  • #1F7C08

    #1F7C08

    oklch(51.3% 0.164 140.9)

  • #6A4FBC

    #6A4FBC

    oklch(51.3% 0.164 290.9)

  • #A73372

    #A73372

    oklch(51.2% 0.164 351)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F7C08

    #1F7C08

    oklch(51.3% 0.164 140.9)

  • #2A61C3

    #2A61C3

    oklch(51.2% 0.164 260.9)

  • #B2313C

    #B2313C

    oklch(51.3% 0.165 20.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F7C08

    #1F7C08

    oklch(51.3% 0.164 140.9)

  • #007197

    #007197

    oklch(51.4% 0.103 230.5)

  • #8F3F9F

    #8F3F9F

    oklch(51.2% 0.164 320.7)

  • #A14B00

    #A14B00

    oklch(51.3% 0.134 50.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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