#1F841A

Closest named color: Dark Grass Green (#388004). oklch(53.7% 0.166 142.3), rgb(31, 132, 26).

Aa

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

About this color

#1F841A is a medium-dark, vivid green. In OKLCH its lightness is 54%, its chroma 0.166 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.017 away. White text reads best on it, at 4.80:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromavivid (0.166)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.37:1
White text4.80:1

Values

HEX#1F841A
RGBrgb(31, 132, 26)
HSLhsl(117, 67%, 31%)
OKLCHoklch(53.7% 0.166 142.3)

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 #1F841A 4.80:1 AA Lc -78.2 Fine for body text
Black text on #1F841A 4.37:1 AA large text Lc 31.3 Non-text elements, placeholder text
#1F841A text on white 4.80:1 AA Lc 72.8 Content text, not long reading
#1F841A text on black 4.37:1 AA large text Lc -28.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 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

    #CAE1C8

    oklch(88.6% 0.042 143)

  4. Step 300

    300

    #A5CDA1

    oklch(80.8% 0.074 142.5)

  5. Step 400

    400

    #73B36D

    oklch(70.6% 0.119 142.3)

  6. Step 500

    500

    #4AA044

    oklch(63.1% 0.154 142.4)

  7. Step 600

    600 (this color)

    #1F841A

    oklch(53.7% 0.166 142.3)

  8. Step 700

    700

    #177513

    oklch(49.1% 0.155 142.4)

  9. Step 800

    800

    #185F14

    oklch(42.6% 0.128 142.3)

  10. Step 900

    900

    #1C4E18

    oklch(37.7% 0.1 142.1)

  11. Step 950

    950

    #122E10

    oklch(27.1% 0.063 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F841A 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)#8777000.116
Deuteranopia (no green cones)#7C6F260.117
Tritanopia (no blue cones)#0080700.107
Achromatopsia (no color)#7272720.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F841A

    #1F841A

    oklch(53.7% 0.166 142.3)

  • #9945A5

    #9945A5

    oklch(53.7% 0.166 322.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F841A

    #1F841A

    oklch(53.7% 0.166 142.3)

  • #707400

    #707400

    oklch(53.7% 0.119 112.2)

  • #008167

    #008167

    oklch(53.7% 0.104 172.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F841A

    #1F841A

    oklch(53.7% 0.166 142.3)

  • #7355C4

    #7355C4

    oklch(53.7% 0.166 292.3)

  • #B13977

    #B13977

    oklch(53.6% 0.167 352.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F841A

    #1F841A

    oklch(53.7% 0.166 142.3)

  • #3567CC

    #3567CC

    oklch(53.5% 0.166 262.4)

  • #BB393F

    #BB393F

    oklch(53.8% 0.166 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F841A

    #1F841A

    oklch(53.7% 0.166 142.3)

  • #0078A2

    #0078A2

    oklch(53.8% 0.109 231.7)

  • #9945A5

    #9945A5

    oklch(53.7% 0.166 322.5)

  • #A95200

    #A95200

    oklch(53.7% 0.137 52.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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