#12270D

Closest named color: Dark Forest Green (#002D04). oklch(24.7% 0.054 139.8), rgb(18, 39, 13).

Aa

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

About this color

#12270D is a very dark, muted green. In OKLCH its lightness is 25%, its chroma 0.054 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.032 away. White text reads best on it, at 15.88:1.

Hue familyGreens
Lightnessvery dark (25%)
Chromamuted (0.054)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.32:1
White text15.88:1

Values

HEX#12270D
RGBrgb(18, 39, 13)
HSLhsl(108, 50%, 10%)
OKLCHoklch(24.7% 0.054 139.8)

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 #12270D 15.88:1 AAA Lc -105.4 Preferred for body text
Black text on #12270D 1.32:1 Fails Lc 0.0 Not readable
#12270D text on white 15.88:1 AAA Lc 102.7 Preferred for body text
#12270D text on black 1.32: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 950.

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CDDFC9

    oklch(88.4% 0.035 140)

  4. Step 300

    300

    #ACCBA4

    oklch(80.9% 0.063 139.3)

  5. Step 400

    400

    #7EB073

    oklch(70.6% 0.101 140)

  6. Step 500

    500

    #5C9C4D

    oklch(63.1% 0.13 139.8)

  7. Step 600

    600

    #41862F

    oklch(55.5% 0.14 139.7)

  8. Step 700

    700

    #327221

    oklch(49.2% 0.132 139.8)

  9. Step 800

    800

    #2A5D1E

    oklch(42.8% 0.109 140)

  10. Step 900

    900

    #274C1E

    oklch(37.7% 0.085 139.8)

  11. Step 950

    950 (this color)

    #12270D

    oklch(24.7% 0.054 139.8)

Export this scale for Tailwind in the Tailwind colors tool

#12270D 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)#28230B0.037
Deuteranopia (no green cones)#25210F0.037
Tritanopia (no blue cones)#1026210.035
Achromatopsia (no color)#2222220.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #12270D

    #12270D

    oklch(24.7% 0.054 139.8)

  • #2C1831

    #2C1831

    oklch(24.8% 0.053 319.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12270D

    #12270D

    oklch(24.7% 0.054 139.8)

  • #232300

    #232300

    oklch(24.8% 0.054 109.8)

  • #00281D

    #00281D

    oklch(24.6% 0.049 169.8)

Open the analogous palette in the generator

Split complementary

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

  • #12270D

    #12270D

    oklch(24.7% 0.054 139.8)

  • #211C39

    #211C39

    oklch(24.8% 0.054 289.8)

  • #331525

    #331525

    oklch(24.6% 0.054 348.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12270D

    #12270D

    oklch(24.7% 0.054 139.8)

  • #11213A

    #11213A

    oklch(24.8% 0.053 259)

  • #371516

    #371516

    oklch(24.8% 0.054 20.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12270D

    #12270D

    oklch(24.7% 0.054 139.8)

  • #002534

    #002534

    oklch(24.8% 0.049 230.1)

  • #2C1831

    #2C1831

    oklch(24.8% 0.053 319.4)

  • #351807

    #351807

    oklch(24.7% 0.054 48.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12270D 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.