#1F8D2A

Closest named color: Forest Green (#228B22). oklch(56.3% 0.167 144.2), rgb(31, 141, 42).

Aa

Black text reads best on this color (4.90:1).

About this color

#1F8D2A is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.167 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.007 away. Black text reads best on it, at 4.90:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.167)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.90:1
White text4.28:1

Values

HEX#1F8D2A
RGBrgb(31, 141, 42)
HSLhsl(126, 64%, 34%)
OKLCHoklch(56.3% 0.167 144.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 #1F8D2A 4.28:1 AA large text Lc -74.6 Content text, not long reading
Black text on #1F8D2A 4.90:1 AA Lc 35.0 Non-text elements, placeholder text
#1F8D2A text on white 4.28:1 AA large text Lc 69.1 Content text, not long reading
#1F8D2A text on black 4.90:1 AA Lc -32.5 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A4CEA2

    oklch(81% 0.075 143.7)

  5. Step 400

    400

    #70B470

    oklch(70.7% 0.119 144.2)

  6. Step 500

    500

    #44A048

    oklch(63% 0.153 144.2)

  7. Step 600

    600 (this color)

    #1F8D2A

    oklch(56.3% 0.167 144.2)

  8. Step 700

    700

    #077619

    oklch(49.2% 0.156 144.1)

  9. Step 800

    800

    #0F6018

    oklch(42.8% 0.129 144.2)

  10. Step 900

    900

    #184F1B

    oklch(37.9% 0.1 144.1)

  11. Step 950

    950

    #102E11

    oklch(27% 0.063 144.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F8D2A 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)#907F1C0.123
Deuteranopia (no green cones)#8477330.122
Tritanopia (no blue cones)#0089790.105
Achromatopsia (no color)#7A7A7A0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F8D2A

    #1F8D2A

    oklch(56.3% 0.167 144.2)

  • #A34CAB

    #A34CAB

    oklch(56.3% 0.166 324.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F8D2A

    #1F8D2A

    oklch(56.3% 0.167 144.2)

  • #757D00

    #757D00

    oklch(56.4% 0.127 114.2)

  • #008971

    #008971

    oklch(56.2% 0.106 174.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F8D2A

    #1F8D2A

    oklch(56.3% 0.167 144.2)

  • #7D5CCC

    #7D5CCC

    oklch(56.3% 0.167 294)

  • #BB417C

    #BB417C

    oklch(56.3% 0.167 353.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F8D2A

    #1F8D2A

    oklch(56.3% 0.167 144.2)

  • #426FD6

    #426FD6

    oklch(56.5% 0.166 264.1)

  • #C44242

    #C44242

    oklch(56.3% 0.166 24.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F8D2A

    #1F8D2A

    oklch(56.3% 0.167 144.2)

  • #007FB0

    #007FB0

    oklch(56.3% 0.119 234.5)

  • #A34CAB

    #A34CAB

    oklch(56.3% 0.166 324.2)

  • #B35A00

    #B35A00

    oklch(56.5% 0.141 54.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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