#286D17

Closest named color: Dark Green (#006400). oklch(47.3% 0.137 140.2), rgb(40, 109, 23).

Aa

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

About this color

#286D17 is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.137 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.039 away. White text reads best on it, at 6.38:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.29:1
White text6.38:1

Values

HEX#286D17
RGBrgb(40, 109, 23)
HSLhsl(108, 65%, 26%)
OKLCHoklch(47.3% 0.137 140.2)

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 #286D17 6.38:1 AA Lc -86.5 Fine for body text
Black text on #286D17 3.29:1 AA large text Lc 22.7 Dividers and decoration only
#286D17 text on white 6.38:1 AA Lc 81.4 Fine for body text
#286D17 text on black 3.29:1 AA large text Lc -20.5 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 700.

  1. Step 50

    50

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C9

    oklch(88.6% 0.037 140.2)

  4. Step 300

    300

    #AACCA3

    oklch(80.9% 0.067 140.3)

  5. Step 400

    400

    #7CB171

    oklch(70.7% 0.106 140.2)

  6. Step 500

    500

    #599D4B

    oklch(63.1% 0.135 140.3)

  7. Step 600

    600

    #3C872B

    oklch(55.6% 0.147 140.2)

  8. Step 700

    700 (this color)

    #286D17

    oklch(47.3% 0.137 140.2)

  9. Step 800

    800

    #275D1B

    oklch(42.6% 0.113 140.3)

  10. Step 900

    900

    #254D1D

    oklch(37.8% 0.088 140.4)

  11. Step 950

    950

    #162D12

    oklch(27% 0.056 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#286D17 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)#7063050.091
Deuteranopia (no green cones)#685D200.093
Tritanopia (no blue cones)#1F695D0.093
Achromatopsia (no color)#5F5F5F0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #286D17

    #286D17

    oklch(47.3% 0.137 140.2)

  • #7C3D8A

    #7C3D8A

    oklch(47.2% 0.136 320.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #286D17

    #286D17

    oklch(47.3% 0.137 140.2)

  • #5F6000

    #5F6000

    oklch(47.2% 0.103 110.5)

  • #006C54

    #006C54

    oklch(47.3% 0.093 170.5)

Open the analogous palette in the generator

Split complementary

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

  • #286D17

    #286D17

    oklch(47.3% 0.137 140.2)

  • #5D4AA2

    #5D4AA2

    oklch(47.4% 0.137 290.1)

  • #913466

    #913466

    oklch(47.3% 0.137 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #286D17

    #286D17

    oklch(47.3% 0.137 140.2)

  • #2A58A7

    #2A58A7

    oklch(47.2% 0.137 260.4)

  • #9A333A

    #9A333A

    oklch(47.4% 0.137 20.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #286D17

    #286D17

    oklch(47.3% 0.137 140.2)

  • #006486

    #006486

    oklch(47.2% 0.094 230.4)

  • #7C3D8A

    #7C3D8A

    oklch(47.2% 0.136 320.1)

  • #914200

    #914200

    oklch(47.4% 0.125 50.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #286D17 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.