#042F12

Closest named color: Very Dark Green (#062E03). oklch(26.9% 0.07 149.7), rgb(4, 47, 18).

Aa

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

About this color

#042F12 is a dark, muted green. In OKLCH its lightness is 27%, its chroma 0.070 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.017 away. White text reads best on it, at 14.78:1.

Hue familyGreens
Lightnessdark (27%)
Chromamuted (0.070)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.42:1
White text14.78:1

Values

HEX#042F12
RGBrgb(4, 47, 18)
HSLhsl(140, 84%, 10%)
OKLCHoklch(26.9% 0.07 149.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 #042F12 14.78:1 AAA Lc -104.2 Preferred for body text
Black text on #042F12 1.42:1 Fails Lc 0.0 Not readable
#042F12 text on white 14.78:1 AAA Lc 101.3 Preferred for body text
#042F12 text on black 1.42: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

    #F1F8F2

    oklch(97.2% 0.011 149.9)

  2. Step 100

    100

    #DFEFE2

    oklch(93.7% 0.024 151.2)

  3. Step 200

    200

    #C5E2C9

    oklch(88.5% 0.046 149.2)

  4. Step 300

    300

    #9BD0A4

    oklch(80.9% 0.083 149.4)

  5. Step 400

    400

    #5EB773

    oklch(70.7% 0.131 149.6)

  6. Step 500

    500

    #18A44D

    oklch(63% 0.168 149.7)

  7. Step 600

    600

    #008B3D

    oklch(55.6% 0.154 149.7)

  8. Step 700

    700

    #007532

    oklch(49.1% 0.137 149.6)

  9. Step 800

    800

    #006028

    oklch(42.7% 0.119 149.7)

  10. Step 900

    900

    #005020

    oklch(37.7% 0.105 149.6)

  11. Step 950

    950 (this color)

    #042F12

    oklch(26.9% 0.07 149.7)

Export this scale for Tailwind in the Tailwind colors tool

#042F12 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)#2F2A100.056
Deuteranopia (no green cones)#2A26140.056
Tritanopia (no blue cones)#002E280.038
Achromatopsia (no color)#2828280.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #042F12

    #042F12

    oklch(26.9% 0.07 149.7)

  • #381836

    #381836

    oklch(26.9% 0.069 329.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042F12

    #042F12

    oklch(26.9% 0.07 149.7)

  • #232A00

    #232A00

    oklch(26.9% 0.063 118.9)

  • #002E27

    #002E27

    oklch(27% 0.049 179.5)

Open the analogous palette in the generator

Split complementary

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

  • #042F12

    #042F12

    oklch(26.9% 0.07 149.7)

  • #2B1D43

    #2B1D43

    oklch(26.9% 0.07 298.6)

  • #401525

    #401525

    oklch(26.9% 0.07 359.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042F12

    #042F12

    oklch(26.9% 0.07 149.7)

  • #192348

    #192348

    oklch(26.9% 0.07 269.8)

  • #421610

    #421610

    oklch(26.9% 0.07 30.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042F12

    #042F12

    oklch(26.9% 0.07 149.7)

  • #002941

    #002941

    oklch(26.8% 0.062 240.6)

  • #381836

    #381836

    oklch(26.9% 0.069 329.6)

  • #3C1D00

    #3C1D00

    oklch(26.9% 0.063 59.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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