#1F6128

Closest named color: Spruce (#0A5F38). oklch(43.7% 0.111 145.7), rgb(31, 97, 40).

Aa

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

About this color

#1F6128 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.111 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.024 away. White text reads best on it, at 7.50:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.79:1
White text7.50:1

Values

HEX#1F6128
RGBrgb(31, 97, 40)
HSLhsl(128, 52%, 25%)
OKLCHoklch(43.7% 0.111 145.7)

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 #1F6128 7.50:1 AAA Lc -90.6 Preferred for body text
Black text on #1F6128 2.79:1 Fails Lc 18.3 Dividers and decoration only
#1F6128 text on white 7.50:1 AAA Lc 85.8 Fine for body text
#1F6128 text on black 2.79:1 Fails Lc -16.3 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 800.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE2

    oklch(93.5% 0.019 145.4)

  3. Step 200

    200

    #CBE0CB

    oklch(88.5% 0.036 145.3)

  4. Step 300

    300

    #A7CCA8

    oklch(80.9% 0.064 145.7)

  5. Step 400

    400

    #75B279

    oklch(70.7% 0.104 145.9)

  6. Step 500

    500

    #4E9E55

    oklch(63% 0.133 145.6)

  7. Step 600

    600

    #2C883A

    oklch(55.5% 0.143 145.9)

  8. Step 700

    700

    #1D742C

    oklch(49.2% 0.134 145.8)

  9. Step 800

    800 (this color)

    #1F6128

    oklch(43.7% 0.111 145.7)

  10. Step 900

    900

    #1E4D23

    oklch(37.6% 0.086 145.6)

  11. Step 950

    950

    #132D15

    oklch(26.9% 0.054 145.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F6128 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)#6358230.086
Deuteranopia (no green cones)#5A522C0.084
Tritanopia (no blue cones)#0E5F540.066
Achromatopsia (no color)#5555550.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F6128

    #1F6128

    oklch(43.7% 0.111 145.7)

  • #703972

    #703972

    oklch(43.7% 0.111 326)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F6128

    #1F6128

    oklch(43.7% 0.111 145.7)

  • #505800

    #505800

    oklch(43.8% 0.1 115.7)

  • #006050

    #006050

    oklch(43.7% 0.082 176.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F6128

    #1F6128

    oklch(43.7% 0.111 145.7)

  • #584287

    #584287

    oklch(43.6% 0.111 296.2)

  • #7F3354

    #7F3354

    oklch(43.7% 0.111 355.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F6128

    #1F6128

    oklch(43.7% 0.111 145.7)

  • #344E8E

    #344E8E

    oklch(43.7% 0.11 265.5)

  • #843430

    #843430

    oklch(43.6% 0.111 25.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F6128

    #1F6128

    oklch(43.7% 0.111 145.7)

  • #00587E

    #00587E

    oklch(43.6% 0.094 236.4)

  • #703972

    #703972

    oklch(43.7% 0.111 326)

  • #7D3E00

    #7D3E00

    oklch(43.6% 0.108 55.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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