#042E01

Closest named color: Very Dark Green (#062E03). oklch(26.3% 0.086 141.6), rgb(4, 46, 1).

Aa

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

About this color

#042E01 is a dark, moderately saturated green. In OKLCH its lightness is 26%, its chroma 0.086 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.003 away. White text reads best on it, at 15.03:1.

Hue familyGreens
Lightnessdark (26%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.39:1
White text15.03:1

Values

HEX#042E01
RGBrgb(4, 46, 1)
HSLhsl(116, 96%, 9%)
OKLCHoklch(26.3% 0.086 141.6)

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 #042E01 15.03:1 AAA Lc -104.4 Preferred for body text
Black text on #042E01 1.39:1 Fails Lc 0.0 Not readable
#042E01 text on white 15.03:1 AAA Lc 101.6 Preferred for body text
#042E01 text on black 1.39: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

    #F1F8EF

    oklch(97.1% 0.014 138.7)

  2. Step 100

    100

    #DFEFDD

    oklch(93.5% 0.029 142.2)

  3. Step 200

    200

    #C5E3C1

    oklch(88.5% 0.056 141.9)

  4. Step 300

    300

    #9CD194

    oklch(80.8% 0.1 141.3)

  5. Step 400

    400

    #60B955

    oklch(70.8% 0.162 141.6)

  6. Step 500

    500

    #21A609

    oklch(63.2% 0.207 141.6)

  7. Step 600

    600

    #168C00

    oklch(55.7% 0.186 141.6)

  8. Step 700

    700

    #117600

    oklch(49.2% 0.164 141.6)

  9. Step 800

    800

    #0C6000

    oklch(42.6% 0.142 141.6)

  10. Step 900

    900

    #085100

    oklch(37.8% 0.126 141.6)

  11. Step 950

    950 (this color)

    #042E01

    oklch(26.3% 0.086 141.6)

Export this scale for Tailwind in the Tailwind colors tool

#042E01 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)#2F28000.060
Deuteranopia (no green cones)#2B25050.060
Tritanopia (no blue cones)#002C260.058
Achromatopsia (no color)#2626260.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #042E01

    #042E01

    oklch(26.3% 0.086 141.6)

  • #37133D

    #37133D

    oklch(26.4% 0.085 321.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042E01

    #042E01

    oklch(26.3% 0.086 141.6)

  • #262700

    #262700

    oklch(26.3% 0.058 111.2)

  • #002C22

    #002C22

    oklch(26.1% 0.05 173.1)

Open the analogous palette in the generator

Split complementary

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

  • #042E01

    #042E01

    oklch(26.3% 0.086 141.6)

  • #261A4A

    #261A4A

    oklch(26.3% 0.085 290.9)

  • #410D29

    #410D29

    oklch(26.2% 0.086 351.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042E01

    #042E01

    oklch(26.3% 0.086 141.6)

  • #0B224D

    #0B224D

    oklch(26.3% 0.085 261.5)

  • #450D11

    #450D11

    oklch(26.2% 0.085 21.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042E01

    #042E01

    oklch(26.3% 0.086 141.6)

  • #00293A

    #00293A

    oklch(26.4% 0.053 231.4)

  • #37133D

    #37133D

    oklch(26.4% 0.085 321.7)

  • #3D1900

    #3D1900

    oklch(26.2% 0.067 52.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #042E01 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.