#042F18

Closest named color: Very Dark Green (#062E03). oklch(27% 0.063 154.7), rgb(4, 47, 24).

Aa

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

About this color

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

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

Values

HEX#042F18
RGBrgb(4, 47, 24)
HSLhsl(148, 84%, 10%)
OKLCHoklch(27% 0.063 154.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 #042F18 14.73:1 AAA Lc -104.2 Preferred for body text
Black text on #042F18 1.42:1 Fails Lc 0.0 Not readable
#042F18 text on white 14.73:1 AAA Lc 101.3 Preferred for body text
#042F18 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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #DFEEE4

    oklch(93.5% 0.021 156.8)

  3. Step 200

    200

    #C5E2CD

    oklch(88.6% 0.042 154)

  4. Step 300

    300

    #9BCFAC

    oklch(80.9% 0.073 155)

  5. Step 400

    400

    #5DB67F

    oklch(70.6% 0.119 154.8)

  6. Step 500

    500

    #15A35E

    oklch(63% 0.152 154.7)

  7. Step 600

    600

    #008A4D

    oklch(55.6% 0.138 154.7)

  8. Step 700

    700

    #007440

    oklch(49.1% 0.122 154.8)

  9. Step 800

    800

    #005F33

    oklch(42.6% 0.106 154.6)

  10. Step 900

    900

    #004F2A

    oklch(37.6% 0.093 154.9)

  11. Step 950

    950 (this color)

    #042F18

    oklch(27% 0.063 154.7)

Export this scale for Tailwind in the Tailwind colors tool

#042F18 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)#2F2A160.056
Deuteranopia (no green cones)#2A271A0.054
Tritanopia (no blue cones)#002E290.031
Achromatopsia (no color)#2828280.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #042F18

    #042F18

    oklch(27% 0.063 154.7)

  • #381933

    #381933

    oklch(26.9% 0.063 333.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #042F18

    #042F18

    oklch(27% 0.063 154.7)

  • #202B03

    #202B03

    oklch(26.9% 0.063 123.9)

  • #002E29

    #002E29

    oklch(27.1% 0.048 183.6)

Open the analogous palette in the generator

Split complementary

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

  • #042F18

    #042F18

    oklch(27% 0.063 154.7)

  • #2D1D3F

    #2D1D3F

    oklch(26.8% 0.064 304.2)

  • #3F1722

    #3F1722

    oklch(27% 0.064 5.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #042F18

    #042F18

    oklch(27% 0.063 154.7)

  • #1E2345

    #1E2345

    oklch(27.1% 0.063 275.1)

  • #401910

    #401910

    oklch(27% 0.063 34.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #042F18

    #042F18

    oklch(27% 0.063 154.7)

  • #042943

    #042943

    oklch(27.1% 0.063 244.6)

  • #381933

    #381933

    oklch(26.9% 0.063 333.5)

  • #3A1F00

    #3A1F00

    oklch(27% 0.06 65.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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