#04270C

Closest named color: Dark Forest Green (#002D04). oklch(24% 0.063 147.7), rgb(4, 39, 12).

Aa

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

About this color

#04270C is a very dark, muted green. In OKLCH its lightness is 24%, its chroma 0.063 and its hue 148°. 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.14:1.

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

Values

HEX#04270C
RGBrgb(4, 39, 12)
HSLhsl(134, 81%, 8%)
OKLCHoklch(24% 0.063 147.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 #04270C 16.14:1 AAA Lc -105.5 Preferred for body text
Black text on #04270C 1.30:1 Fails Lc 0.0 Not readable
#04270C text on white 16.14:1 AAA Lc 102.9 Preferred for body text
#04270C text on black 1.30: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

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C8E1CA

    oklch(88.5% 0.041 147.5)

  4. Step 300

    300

    #A0CEA5

    oklch(80.8% 0.075 147.7)

  5. Step 400

    400

    #69B575

    oklch(70.7% 0.12 147.9)

  6. Step 500

    500

    #38A24F

    oklch(63.2% 0.154 147.5)

  7. Step 600

    600

    #008B35

    oklch(55.5% 0.161 147.8)

  8. Step 700

    700

    #00752B

    oklch(49% 0.143 147.8)

  9. Step 800

    800

    #006022

    oklch(42.6% 0.124 147.8)

  10. Step 900

    900

    #0E4F1F

    oklch(37.6% 0.1 147.6)

  11. Step 950

    950 (this color)

    #04270C

    oklch(24% 0.063 147.7)

Export this scale for Tailwind in the Tailwind colors tool

#04270C 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)#28230A0.051
Deuteranopia (no green cones)#23200E0.048
Tritanopia (no blue cones)#0026210.037
Achromatopsia (no color)#2121210.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #04270C

    #04270C

    oklch(24% 0.063 147.7)

  • #2F132E

    #2F132E

    oklch(24.1% 0.063 328.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04270C

    #04270C

    oklch(24% 0.063 147.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°).

  • #04270C

    #04270C

    oklch(24% 0.063 147.7)

  • #231739

    #231739

    oklch(23.9% 0.064 297.7)

  • #36101F

    #36101F

    oklch(24.1% 0.064 358.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04270C

    #04270C

    oklch(24% 0.063 147.7)

  • #121D3D

    #121D3D

    oklch(24% 0.063 267.3)

  • #38110D

    #38110D

    oklch(24.1% 0.063 28.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04270C

    #04270C

    oklch(24% 0.063 147.7)

  • #002235

    #002235

    oklch(23.9% 0.053 238)

  • #2F132E

    #2F132E

    oklch(24.1% 0.063 328.6)

  • #331700

    #331700

    oklch(24.1% 0.058 57.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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