#285A28

Closest named color: Pine (#2B5D34). oklch(42% 0.096 143.6), rgb(40, 90, 40).

Aa

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

About this color

#285A28 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.096 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.017 away. White text reads best on it, at 8.12:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.58:1
White text8.12:1

Values

HEX#285A28
RGBrgb(40, 90, 40)
HSLhsl(120, 38%, 25%)
OKLCHoklch(42% 0.096 143.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 #285A28 8.12:1 AAA Lc -92.6 Preferred for body text
Black text on #285A28 2.58:1 Fails Lc 16.1 Dividers and decoration only
#285A28 text on white 8.12:1 AAA Lc 87.9 Fine for body text
#285A28 text on black 2.58:1 Fails Lc -14.2 Not readable

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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CDDFCC

    oklch(88.5% 0.032 143.8)

  4. Step 300

    300

    #ACCBAA

    oklch(81% 0.057 143.4)

  5. Step 400

    400

    #7EAF7C

    oklch(70.6% 0.09 143.6)

  6. Step 500

    500

    #5C9B5B

    oklch(63% 0.114 143.7)

  7. Step 600

    600

    #408540

    oklch(55.5% 0.124 143.7)

  8. Step 700

    700

    #327132

    oklch(49.1% 0.116 143.6)

  9. Step 800

    800 (this color)

    #285A28

    oklch(42% 0.096 143.6)

  10. Step 900

    900

    #274C26

    oklch(37.8% 0.076 143.4)

  11. Step 950

    950

    #172C17

    oklch(26.9% 0.047 144.1)

Export this scale for Tailwind in the Tailwind colors tool

#285A28 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)#5C52240.072
Deuteranopia (no green cones)#554E2C0.070
Tritanopia (no blue cones)#21584F0.060
Achromatopsia (no color)#4F4F4F0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #285A28

    #285A28

    oklch(42% 0.096 143.6)

  • #66396B

    #66396B

    oklch(42% 0.097 323.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285A28

    #285A28

    oklch(42% 0.096 143.6)

  • #4D5200

    #4D5200

    oklch(42% 0.094 113.8)

  • #005B49

    #005B49

    oklch(42% 0.081 173.2)

Open the analogous palette in the generator

Split complementary

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

  • #285A28

    #285A28

    oklch(42% 0.096 143.6)

  • #50417C

    #50417C

    oklch(41.9% 0.096 293.5)

  • #743451

    #743451

    oklch(42% 0.096 353.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285A28

    #285A28

    oklch(42% 0.096 143.6)

  • #314B81

    #314B81

    oklch(42% 0.096 263.4)

  • #793533

    #793533

    oklch(42% 0.096 23.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285A28

    #285A28

    oklch(42% 0.096 143.6)

  • #005475

    #005475

    oklch(42% 0.087 233.7)

  • #66396B

    #66396B

    oklch(42% 0.097 323.4)

  • #743C0F

    #743C0F

    oklch(42% 0.096 53.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #285A28 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.