#286C23

Closest named color: Dark Green (#006400). oklch(47.1% 0.127 142.2), rgb(40, 108, 35).

Aa

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

About this color

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

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

Values

HEX#286C23
RGBrgb(40, 108, 35)
HSLhsl(116, 51%, 28%)
OKLCHoklch(47.1% 0.127 142.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 #286C23 6.44:1 AA Lc -86.8 Fine for body text
Black text on #286C23 3.25:1 AA large text Lc 22.4 Dividers and decoration only
#286C23 text on white 6.44:1 AA Lc 81.7 Fine for body text
#286C23 text on black 3.25:1 AA large text Lc -20.2 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #ABCBA7

    oklch(80.9% 0.061 142)

  5. Step 400

    400

    #7DB077

    oklch(70.6% 0.098 141.9)

  6. Step 500

    500

    #599C53

    oklch(63% 0.126 142.2)

  7. Step 600

    600

    #3D8737

    oklch(55.7% 0.137 142.2)

  8. Step 700

    700 (this color)

    #286C23

    oklch(47.1% 0.127 142.2)

  9. Step 800

    800

    #285D23

    oklch(42.8% 0.106 142)

  10. Step 900

    900

    #254C22

    oklch(37.6% 0.082 142.4)

  11. Step 950

    950

    #172D14

    oklch(27.1% 0.053 141.4)

Export this scale for Tailwind in the Tailwind colors tool

#286C23 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)#6F621A0.091
Deuteranopia (no green cones)#665C290.090
Tritanopia (no blue cones)#1D695D0.082
Achromatopsia (no color)#5E5E5E0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #286C23

    #286C23

    oklch(47.1% 0.127 142.2)

  • #7B3F85

    #7B3F85

    oklch(47.1% 0.127 321.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #286C23

    #286C23

    oklch(47.1% 0.127 142.2)

  • #5D6000

    #5D6000

    oklch(47.1% 0.104 111.9)

  • #006B55

    #006B55

    oklch(47% 0.091 172.1)

Open the analogous palette in the generator

Split complementary

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

  • #286C23

    #286C23

    oklch(47.1% 0.127 142.2)

  • #5E4A9B

    #5E4A9B

    oklch(47% 0.127 292.2)

  • #8E3762

    #8E3762

    oklch(47.1% 0.127 352.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #286C23

    #286C23

    oklch(47.1% 0.127 142.2)

  • #3258A2

    #3258A2

    oklch(47.2% 0.127 262.2)

  • #953739

    #953739

    oklch(47% 0.127 22.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #286C23

    #286C23

    oklch(47.1% 0.127 142.2)

  • #006488

    #006488

    oklch(47.3% 0.096 231.9)

  • #7B3F85

    #7B3F85

    oklch(47.1% 0.127 321.7)

  • #8E4300

    #8E4300

    oklch(47.1% 0.121 52)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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