#02270C

Closest named color: Dark Forest Green (#002D04). oklch(23.9% 0.065 148.7), rgb(2, 39, 12).

Aa

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

About this color

#02270C is a very dark, muted green. In OKLCH its lightness is 24%, its chroma 0.065 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.027 away. White text reads best on it, at 16.17:1.

Hue familyGreens
Lightnessvery dark (24%)
Chromamuted (0.065)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.29:1
White text16.17:1

Values

HEX#02270C
RGBrgb(2, 39, 12)
HSLhsl(136, 90%, 8%)
OKLCHoklch(23.9% 0.065 148.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 #02270C 16.17:1 AAA Lc -105.5 Preferred for body text
Black text on #02270C 1.29:1 Fails Lc 0.0 Not readable
#02270C text on white 16.17:1 AAA Lc 102.9 Preferred for body text
#02270C text on black 1.29: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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E0EEE2

    oklch(93.5% 0.022 149.7)

  3. Step 200

    200

    #C7E1CA

    oklch(88.4% 0.042 148.5)

  4. Step 300

    300

    #9FCFA6

    oklch(81% 0.076 148.8)

  5. Step 400

    400

    #66B675

    oklch(70.8% 0.123 148.6)

  6. Step 500

    500

    #30A250

    oklch(63% 0.157 148.7)

  7. Step 600

    600

    #008B39

    oklch(55.6% 0.158 148.7)

  8. Step 700

    700

    #00752F

    oklch(49.1% 0.139 148.8)

  9. Step 800

    800

    #006025

    oklch(42.7% 0.121 148.7)

  10. Step 900

    900

    #085020

    oklch(37.8% 0.103 148.6)

  11. Step 950

    950 (this color)

    #02270C

    oklch(23.9% 0.065 148.7)

Export this scale for Tailwind in the Tailwind colors tool

#02270C 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)#27220A0.052
Deuteranopia (no green cones)#231F0E0.052
Tritanopia (no blue cones)#0026210.037
Achromatopsia (no color)#2121210.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #02270C

    #02270C

    oklch(23.9% 0.065 148.7)

  • #2F122E

    #2F122E

    oklch(23.9% 0.065 328.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02270C

    #02270C

    oklch(23.9% 0.065 148.7)

  • #1D2200

    #1D2200

    oklch(23.8% 0.055 117.5)

  • #00261F

    #00261F

    oklch(24% 0.044 177.4)

Open the analogous palette in the generator

Split complementary

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

  • #02270C

    #02270C

    oklch(23.9% 0.065 148.7)

  • #241739

    #241739

    oklch(24.1% 0.064 299.2)

  • #360F1E

    #360F1E

    oklch(23.9% 0.065 359.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02270C

    #02270C

    oklch(23.9% 0.065 148.7)

  • #121C3D

    #121C3D

    oklch(23.8% 0.065 268.5)

  • #38100C

    #38100C

    oklch(23.9% 0.065 28.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02270C

    #02270C

    oklch(23.9% 0.065 148.7)

  • #002235

    #002235

    oklch(23.9% 0.053 238)

  • #2F122E

    #2F122E

    oklch(23.9% 0.065 328.7)

  • #321700

    #321700

    oklch(23.9% 0.057 59)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02270C 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.