#04270D

Closest named color: Dark Forest Green (#002D04). oklch(24% 0.062 148.5), rgb(4, 39, 13).

Aa

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

About this color

#04270D is a very dark, muted green. In OKLCH its lightness is 24%, its chroma 0.062 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.028 away. White text reads best on it, at 16.13:1.

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

Values

HEX#04270D
RGBrgb(4, 39, 13)
HSLhsl(135, 81%, 8%)
OKLCHoklch(24% 0.062 148.5)

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 #04270D 16.13:1 AAA Lc -105.5 Preferred for body text
Black text on #04270D 1.30:1 Fails Lc 0.0 Not readable
#04270D text on white 16.13:1 AAA Lc 102.9 Preferred for body text
#04270D 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

    #A0CEA6

    oklch(80.8% 0.074 148.4)

  5. Step 400

    400

    #69B576

    oklch(70.7% 0.119 148.3)

  6. Step 500

    500

    #38A152

    oklch(63% 0.15 148.4)

  7. Step 600

    600

    #008B38

    oklch(55.6% 0.159 148.5)

  8. Step 700

    700

    #00752E

    oklch(49.1% 0.14 148.5)

  9. Step 800

    800

    #006024

    oklch(42.7% 0.122 148.4)

  10. Step 900

    900

    #0E4F21

    oklch(37.7% 0.098 148.4)

  11. Step 950

    950 (this color)

    #04270D

    oklch(24% 0.062 148.5)

Export this scale for Tailwind in the Tailwind colors tool

#04270D 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)#27230B0.049
Deuteranopia (no green cones)#23200F0.048
Tritanopia (no blue cones)#0026210.036
Achromatopsia (no color)#2121210.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #04270D

    #04270D

    oklch(24% 0.062 148.5)

  • #2F132E

    #2F132E

    oklch(24.1% 0.063 328.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04270D

    #04270D

    oklch(24% 0.062 148.5)

  • #1D2300

    #1D2300

    oklch(24.2% 0.057 118.8)

  • #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°).

  • #04270D

    #04270D

    oklch(24% 0.062 148.5)

  • #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.

  • #04270D

    #04270D

    oklch(24% 0.062 148.5)

  • #131D3D

    #131D3D

    oklch(24.1% 0.063 268.4)

  • #38110D

    #38110D

    oklch(24.1% 0.063 28.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04270D

    #04270D

    oklch(24% 0.062 148.5)

  • #002236

    #002236

    oklch(24% 0.054 239.3)

  • #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 #04270D, closest first.

Similar named colors

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

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