#286831

Closest named color: Pine (#2B5D34). oklch(46.2% 0.108 146.2), rgb(40, 104, 49).

Aa

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

About this color

#286831 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.108 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.037 away. White text reads best on it, at 6.74:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest namePine (#2B5D34)
Black text3.11:1
White text6.74:1

Values

HEX#286831
RGBrgb(40, 104, 49)
HSLhsl(128, 44%, 28%)
OKLCHoklch(46.2% 0.108 146.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 #286831 6.74:1 AA Lc -88.0 Fine for body text
Black text on #286831 3.11:1 AA large text Lc 21.1 Dividers and decoration only
#286831 text on white 6.74:1 AA Lc 83.0 Fine for body text
#286831 text on black 3.11:1 AA large text Lc -19.0 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CDDFCE

    oklch(88.5% 0.03 146.9)

  4. Step 300

    300

    #ACCAAD

    oklch(80.9% 0.052 146)

  5. Step 400

    400

    #7EAF81

    oklch(70.7% 0.084 146.1)

  6. Step 500

    500

    #5C9B62

    oklch(63.2% 0.107 146.3)

  7. Step 600

    600

    #408548

    oklch(55.6% 0.116 146.2)

  8. Step 700

    700 (this color)

    #286831

    oklch(46.2% 0.108 146.2)

  9. Step 800

    800

    #2A5C30

    oklch(42.8% 0.089 146.3)

  10. Step 900

    900

    #274B2A

    oklch(37.6% 0.069 145.8)

  11. Step 950

    950

    #172C19

    oklch(26.9% 0.044 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#286831 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)#695F2C0.083
Deuteranopia (no green cones)#6159350.084
Tritanopia (no blue cones)#1A665B0.064
Achromatopsia (no color)#5B5B5B0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #286831

    #286831

    oklch(46.2% 0.108 146.2)

  • #774178

    #774178

    oklch(46.2% 0.107 326.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #286831

    #286831

    oklch(46.2% 0.108 146.2)

  • #565F00

    #565F00

    oklch(46.2% 0.105 116)

  • #006857

    #006857

    oklch(46.2% 0.086 176.3)

Open the analogous palette in the generator

Split complementary

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

  • #286831

    #286831

    oklch(46.2% 0.108 146.2)

  • #5F4A8D

    #5F4A8D

    oklch(46.2% 0.107 296.4)

  • #863B5A

    #863B5A

    oklch(46.1% 0.109 356.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #286831

    #286831

    oklch(46.2% 0.108 146.2)

  • #3C5595

    #3C5595

    oklch(46.2% 0.109 266.2)

  • #8B3D37

    #8B3D37

    oklch(46.2% 0.108 26.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #286831

    #286831

    oklch(46.2% 0.108 146.2)

  • #006088

    #006088

    oklch(46.2% 0.099 235.7)

  • #774178

    #774178

    oklch(46.2% 0.107 326.5)

  • #854609

    #854609

    oklch(46.3% 0.108 56.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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