#1F4E12

Closest named color: Bottle Green (#044A05). oklch(37.7% 0.103 139.7), rgb(31, 78, 18).

Aa

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

About this color

#1F4E12 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.103 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bottle Green (#044A05), ΔE 0.026 away. White text reads best on it, at 9.73:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameBottle Green (#044A05)
Black text2.15:1
White text9.73:1

Values

HEX#1F4E12
RGBrgb(31, 78, 18)
HSLhsl(107, 63%, 19%)
OKLCHoklch(37.7% 0.103 139.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 #1F4E12 9.73:1 AAA Lc -96.5 Preferred for body text
Black text on #1F4E12 2.15:1 Fails Lc 11.6 Not readable
#1F4E12 text on white 9.73:1 AAA Lc 92.3 Preferred for body text
#1F4E12 text on black 2.15:1 Fails Lc -10.1 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CBE1C6

    oklch(88.6% 0.043 139.9)

  4. Step 300

    300

    #A7CD9E

    oklch(80.8% 0.076 139.7)

  5. Step 400

    400

    #76B367

    oklch(70.6% 0.124 139.6)

  6. Step 500

    500

    #4F9F3B

    oklch(63% 0.157 139.8)

  7. Step 600

    600

    #2F8A0E

    oklch(55.7% 0.172 139.7)

  8. Step 700

    700

    #227400

    oklch(49% 0.157 139.8)

  9. Step 800

    800

    #1E5F06

    oklch(42.7% 0.132 139.6)

  10. Step 900

    900 (this color)

    #1F4E12

    oklch(37.7% 0.103 139.7)

  11. Step 950

    950

    #132E0C

    oklch(27.1% 0.066 139.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E12 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)#5046090.069
Deuteranopia (no green cones)#4A43180.068
Tritanopia (no blue cones)#1A4B420.070
Achromatopsia (no color)#4444440.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E12

    #1F4E12

    oklch(37.7% 0.103 139.7)

  • #592C63

    #592C63

    oklch(37.7% 0.104 320.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E12

    #1F4E12

    oklch(37.7% 0.103 139.7)

  • #454500

    #454500

    oklch(37.8% 0.082 109.8)

  • #004E3B

    #004E3B

    oklch(37.7% 0.075 169.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E12

    #1F4E12

    oklch(37.7% 0.103 139.7)

  • #423574

    #423574

    oklch(37.7% 0.104 290)

  • #68264A

    #68264A

    oklch(37.8% 0.104 349.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E12

    #1F4E12

    oklch(37.7% 0.103 139.7)

  • #1E4077

    #1E4077

    oklch(37.8% 0.102 259.6)

  • #6E252A

    #6E252A

    oklch(37.6% 0.104 19.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E12

    #1F4E12

    oklch(37.7% 0.103 139.7)

  • #004861

    #004861

    oklch(37.6% 0.075 229.8)

  • #592C63

    #592C63

    oklch(37.7% 0.104 320.1)

  • #6A2E00

    #6A2E00

    oklch(37.8% 0.1 50)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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