#1F421B

Closest named color: Pine Green (#0A481E). oklch(34.2% 0.076 141.7), rgb(31, 66, 27).

Aa

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

About this color

#1F421B is a dark, moderately saturated green. In OKLCH its lightness is 34%, its chroma 0.076 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.022 away. White text reads best on it, at 11.33:1.

Hue familyGreens
Lightnessdark (34%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text1.85:1
White text11.33:1

Values

HEX#1F421B
RGBrgb(31, 66, 27)
HSLhsl(114, 42%, 18%)
OKLCHoklch(34.2% 0.076 141.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 #1F421B 11.33:1 AAA Lc -99.7 Preferred for body text
Black text on #1F421B 1.85:1 Fails Lc 7.9 Not readable
#1F421B text on white 11.33:1 AAA Lc 96.0 Preferred for body text
#1F421B text on black 1.85:1 Fails Lc 0.0 Not readable

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

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDFCB

    oklch(88.5% 0.033 141)

  4. Step 300

    300

    #ACCAA8

    oklch(80.8% 0.057 141.8)

  5. Step 400

    400

    #80AF7A

    oklch(70.6% 0.091 141.8)

  6. Step 500

    500

    #5E9B57

    oklch(63.1% 0.117 141.8)

  7. Step 600

    600

    #43853C

    oklch(55.5% 0.126 141.8)

  8. Step 700

    700

    #34712E

    oklch(49.2% 0.118 141.9)

  9. Step 800

    800

    #2C5C27

    oklch(42.7% 0.098 141.9)

  10. Step 900

    900 (this color)

    #1F421B

    oklch(34.2% 0.076 141.7)

  11. Step 950

    950

    #182C16

    oklch(26.9% 0.047 142.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F421B 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)#443C180.055
Deuteranopia (no green cones)#3F391E0.055
Tritanopia (no blue cones)#1B40390.049
Achromatopsia (no color)#3A3A3A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F421B

    #1F421B

    oklch(34.2% 0.076 141.7)

  • #4A2A50

    #4A2A50

    oklch(34.2% 0.076 321.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F421B

    #1F421B

    oklch(34.2% 0.076 141.7)

  • #3A3C00

    #3A3C00

    oklch(34.3% 0.076 111.9)

  • #004334

    #004334

    oklch(34.1% 0.066 171.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F421B

    #1F421B

    oklch(34.2% 0.076 141.7)

  • #3A305C

    #3A305C

    oklch(34.2% 0.076 292.4)

  • #55263D

    #55263D

    oklch(34.2% 0.076 351.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F421B

    #1F421B

    oklch(34.2% 0.076 141.7)

  • #223760

    #223760

    oklch(34.2% 0.077 262.5)

  • #5A2626

    #5A2626

    oklch(34.2% 0.077 22)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F421B

    #1F421B

    oklch(34.2% 0.076 141.7)

  • #003E56

    #003E56

    oklch(34.2% 0.07 231.9)

  • #4A2A50

    #4A2A50

    oklch(34.2% 0.076 321.1)

  • #572B0D

    #572B0D

    oklch(34.2% 0.077 51.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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