#041F12

Closest named color: Rich Black (#0D1B2A). oklch(21.4% 0.042 159.4), rgb(4, 31, 18).

Aa

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

About this color

#041F12 is a very dark, muted green. In OKLCH its lightness is 21%, its chroma 0.042 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.056 away. White text reads best on it, at 17.35:1.

Hue familyGreens
Lightnessvery dark (21%)
Chromamuted (0.042)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.20:1
White text17.35:1

Values

HEX#041F12
RGBrgb(4, 31, 18)
HSLhsl(151, 77%, 7%)
OKLCHoklch(21.4% 0.042 159.4)

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 #041F12 17.35:1 AAA Lc -106.4 Preferred for body text
Black text on #041F12 1.20:1 Fails Lc 0.0 Not readable
#041F12 text on white 17.35:1 AAA Lc 104.1 Preferred for body text
#041F12 text on black 1.20: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CADFD3

    oklch(88.5% 0.028 160.8)

  4. Step 300

    300

    #A6CBB5

    oklch(80.9% 0.05 159)

  5. Step 400

    400

    #73B08F

    oklch(70.6% 0.08 159.8)

  6. Step 500

    500

    #4A9C73

    oklch(63% 0.102 159.6)

  7. Step 600

    600

    #26875B

    oklch(55.6% 0.112 159.2)

  8. Step 700

    700

    #16724B

    oklch(49% 0.104 159.5)

  9. Step 800

    800

    #175D3E

    oklch(42.7% 0.086 159.7)

  10. Step 900

    900

    #1C4C35

    oklch(37.6% 0.066 159.9)

  11. Step 950

    950 (this color)

    #041F12

    oklch(21.4% 0.042 159.4)

Export this scale for Tailwind in the Tailwind colors tool

#041F12 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)#1F1C110.040
Deuteranopia (no green cones)#1B19130.040
Tritanopia (no blue cones)#001F1C0.019
Achromatopsia (no color)#1A1A1A0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #041F12

    #041F12

    oklch(21.4% 0.042 159.4)

  • #26111F

    #26111F

    oklch(21.4% 0.042 340.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041F12

    #041F12

    oklch(21.4% 0.042 159.4)

  • #131D07

    #131D07

    oklch(21.4% 0.042 129.5)

  • #001E1D

    #001E1D

    oklch(21.2% 0.036 191.7)

Open the analogous palette in the generator

Split complementary

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

  • #041F12

    #041F12

    oklch(21.4% 0.042 159.4)

  • #1F1328

    #1F1328

    oklch(21.3% 0.043 309.4)

  • #291015

    #291015

    oklch(21.3% 0.042 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #041F12

    #041F12

    oklch(21.4% 0.042 159.4)

  • #15172C

    #15172C

    oklch(21.4% 0.041 278.2)

  • #291209

    #291209

    oklch(21.4% 0.042 41.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041F12

    #041F12

    oklch(21.4% 0.042 159.4)

  • #081A2C

    #081A2C

    oklch(21.3% 0.043 250.4)

  • #26111F

    #26111F

    oklch(21.4% 0.042 340.9)

  • #261502

    #261502

    oklch(21.4% 0.043 68.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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