#286F40

Closest named color: Dark Olive Green (#556B2F). oklch(48.4% 0.103 151.6), rgb(40, 111, 64).

Aa

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

About this color

#286F40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.103 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.046 away. White text reads best on it, at 6.10:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.43:1
White text6.10:1

Values

HEX#286F40
RGBrgb(40, 111, 64)
HSLhsl(140, 47%, 30%)
OKLCHoklch(48.4% 0.103 151.6)

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 #286F40 6.10:1 AA Lc -85.4 Fine for body text
Black text on #286F40 3.43:1 AA large text Lc 23.8 Dividers and decoration only
#286F40 text on white 6.10:1 AA Lc 80.2 Fine for body text
#286F40 text on black 3.43:1 AA large text Lc -21.6 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE5

    oklch(93.6% 0.015 151.8)

  3. Step 200

    200

    #CCDFD0

    oklch(88.5% 0.029 151.9)

  4. Step 300

    300

    #AACAB1

    oklch(80.8% 0.049 151.7)

  5. Step 400

    400

    #7BAF88

    oklch(70.7% 0.079 151.8)

  6. Step 500

    500

    #579B6A

    oklch(63.1% 0.102 151.6)

  7. Step 600

    600

    #398551

    oklch(55.5% 0.111 151.5)

  8. Step 700

    700 (this color)

    #286F40

    oklch(48.4% 0.103 151.6)

  9. Step 800

    800

    #255C36

    oklch(42.7% 0.086 151.2)

  10. Step 900

    900

    #234C2F

    oklch(37.8% 0.068 151.4)

  11. Step 950

    950

    #162C1C

    oklch(26.9% 0.041 151.6)

Export this scale for Tailwind in the Tailwind colors tool

#286F40 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)#6F663D0.087
Deuteranopia (no green cones)#665F430.087
Tritanopia (no blue cones)#106D630.055
Achromatopsia (no color)#6262620.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #286F40

    #286F40

    oklch(48.4% 0.103 151.6)

  • #804779

    #804779

    oklch(48.4% 0.104 331.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #286F40

    #286F40

    oklch(48.4% 0.103 151.6)

  • #566719

    #566719

    oklch(48.4% 0.103 121.2)

  • #006E62

    #006E62

    oklch(48.3% 0.087 181.9)

Open the analogous palette in the generator

Split complementary

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

  • #286F40

    #286F40

    oklch(48.4% 0.103 151.6)

  • #6A4F8F

    #6A4F8F

    oklch(48.4% 0.104 302.1)

  • #8D435B

    #8D435B

    oklch(48.4% 0.104 1.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #286F40

    #286F40

    oklch(48.4% 0.103 151.6)

  • #4A5A99

    #4A5A99

    oklch(48.5% 0.103 271.4)

  • #904639

    #904639

    oklch(48.5% 0.103 31.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #286F40

    #286F40

    oklch(48.4% 0.103 151.6)

  • #186594

    #186594

    oklch(48.5% 0.104 241.5)

  • #804779

    #804779

    oklch(48.4% 0.104 331.7)

  • #884F12

    #884F12

    oklch(48.4% 0.104 61.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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