#046842

Closest named color: Spruce (#0A5F38). oklch(45.7% 0.103 159.4), rgb(4, 104, 66).

Aa

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

About this color

#046842 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.103 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.029 away. White text reads best on it, at 6.85:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.06:1
White text6.85:1

Values

HEX#046842
RGBrgb(4, 104, 66)
HSLhsl(157, 93%, 21%)
OKLCHoklch(45.7% 0.103 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 #046842 6.85:1 AA Lc -88.2 Fine for body text
Black text on #046842 3.06:1 AA large text Lc 20.9 Dividers and decoration only
#046842 text on white 6.85:1 AA Lc 83.2 Fine for body text
#046842 text on black 3.06:1 AA large text Lc -18.8 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EEE6

    oklch(93.7% 0.017 159.1)

  3. Step 200

    200

    #C7E0D1

    oklch(88.4% 0.033 159.3)

  4. Step 300

    300

    #A0CDB3

    oklch(80.9% 0.06 159.4)

  5. Step 400

    400

    #68B38B

    oklch(70.7% 0.096 159.3)

  6. Step 500

    500

    #35A06E

    oklch(63.2% 0.124 159.1)

  7. Step 600

    600

    #008958

    oklch(55.6% 0.127 159.5)

  8. Step 700

    700

    #007349

    oklch(49% 0.112 159.4)

  9. Step 800

    800 (this color)

    #046842

    oklch(45.7% 0.103 159.4)

  10. Step 900

    900

    #0B4E32

    oklch(37.6% 0.08 159.6)

  11. Step 950

    950

    #0B2E1D

    oklch(27% 0.051 158.7)

Export this scale for Tailwind in the Tailwind colors tool

#046842 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)#675F400.097
Deuteranopia (no green cones)#5C57450.094
Tritanopia (no blue cones)#00675E0.045
Achromatopsia (no color)#5A5A5A0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #046842

    #046842

    oklch(45.7% 0.103 159.4)

  • #7C3E6A

    #7C3E6A

    oklch(45.8% 0.104 339.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #046842

    #046842

    oklch(45.7% 0.103 159.4)

  • #44621C

    #44621C

    oklch(45.7% 0.103 129.7)

  • #006560

    #006560

    oklch(45.7% 0.079 188.9)

Open the analogous palette in the generator

Split complementary

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

  • #046842

    #046842

    oklch(45.7% 0.103 159.4)

  • #684582

    #684582

    oklch(45.6% 0.103 309.3)

  • #863B4B

    #863B4B

    oklch(45.6% 0.104 8.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #046842

    #046842

    oklch(45.7% 0.103 159.4)

  • #4C4F8F

    #4C4F8F

    oklch(45.6% 0.103 279.4)

  • #864028

    #864028

    oklch(45.7% 0.103 39.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #046842

    #046842

    oklch(45.7% 0.103 159.4)

  • #215A8E

    #215A8E

    oklch(45.7% 0.103 249.5)

  • #7C3E6A

    #7C3E6A

    oklch(45.8% 0.104 339.3)

  • #7A4B00

    #7A4B00

    oklch(45.6% 0.099 69.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #046842 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.