#1F682F

Closest named color: Spruce (#0A5F38). oklch(45.8% 0.114 147.4), rgb(31, 104, 47).

Aa

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

About this color

#1F682F is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.114 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.037 away. White text reads best on it, at 6.81:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.07:1
White text6.81:1

Values

HEX#1F682F
RGBrgb(31, 104, 47)
HSLhsl(133, 54%, 26%)
OKLCHoklch(45.8% 0.114 147.4)

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 #1F682F 6.81:1 AA Lc -88.2 Fine for body text
Black text on #1F682F 3.07:1 AA large text Lc 20.8 Dividers and decoration only
#1F682F text on white 6.81:1 AA Lc 83.2 Fine for body text
#1F682F text on black 3.07:1 AA large text Lc -18.7 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

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #CAE0CB

    oklch(88.5% 0.037 146.5)

  4. Step 300

    300

    #A4CDA8

    oklch(80.9% 0.067 147.5)

  5. Step 400

    400

    #71B37A

    oklch(70.7% 0.107 147.7)

  6. Step 500

    500

    #479F57

    oklch(63% 0.136 147.5)

  7. Step 600

    600

    #208A3B

    oklch(55.7% 0.149 147.4)

  8. Step 700

    700

    #0F752D

    oklch(49.2% 0.139 147.4)

  9. Step 800

    800 (this color)

    #1F682F

    oklch(45.8% 0.114 147.4)

  10. Step 900

    900

    #194E24

    oklch(37.7% 0.089 147.6)

  11. Step 950

    950

    #112E16

    oklch(27.1% 0.056 147.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F682F 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)#695F2A0.089
Deuteranopia (no green cones)#6058330.089
Tritanopia (no blue cones)#05665B0.066
Achromatopsia (no color)#5B5B5B0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F682F

    #1F682F

    oklch(45.8% 0.114 147.4)

  • #783D78

    #783D78

    oklch(45.7% 0.115 327.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F682F

    #1F682F

    oklch(45.8% 0.114 147.4)

  • #535F00

    #535F00

    oklch(45.9% 0.107 117.9)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F682F

    #1F682F

    oklch(45.8% 0.114 147.4)

  • #5F478E

    #5F478E

    oklch(45.7% 0.114 297.3)

  • #873858

    #873858

    oklch(45.8% 0.114 357.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F682F

    #1F682F

    oklch(45.8% 0.114 147.4)

  • #3B5397

    #3B5397

    oklch(45.8% 0.114 267.2)

  • #8C3A32

    #8C3A32

    oklch(45.8% 0.114 28)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F682F

    #1F682F

    oklch(45.8% 0.114 147.4)

  • #005E88

    #005E88

    oklch(45.7% 0.101 237.5)

  • #783D78

    #783D78

    oklch(45.7% 0.115 327.3)

  • #844400

    #844400

    oklch(45.8% 0.111 57)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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