#285F24

Closest named color: Pine (#2B5D34). oklch(43.4% 0.108 142.3), rgb(40, 95, 36).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.75:1
White text7.62:1

Values

HEX#285F24
RGBrgb(40, 95, 36)
HSLhsl(116, 45%, 26%)
OKLCHoklch(43.4% 0.108 142.3)

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 #285F24 7.62:1 AAA Lc -91.1 Preferred for body text
Black text on #285F24 2.75:1 Fails Lc 17.8 Dividers and decoration only
#285F24 text on white 7.62:1 AAA Lc 86.3 Fine for body text
#285F24 text on black 2.75:1 Fails Lc -15.8 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 800.

  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

    #CDDFCA

    oklch(88.4% 0.034 141.2)

  4. Step 300

    300

    #AACCA6

    oklch(81% 0.064 142.2)

  5. Step 400

    400

    #7BB176

    oklch(70.7% 0.102 142.4)

  6. Step 500

    500

    #589D52

    oklch(63.2% 0.129 142.2)

  7. Step 600

    600

    #3B8735

    oklch(55.6% 0.14 142.2)

  8. Step 700

    700

    #2C7227

    oklch(49% 0.13 142.2)

  9. Step 800

    800 (this color)

    #285F24

    oklch(43.4% 0.108 142.3)

  10. Step 900

    900

    #244C21

    oklch(37.6% 0.083 142.4)

  11. Step 950

    950

    #162D14

    oklch(27% 0.053 142.3)

Export this scale for Tailwind in the Tailwind colors tool

#285F24 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)#61561E0.077
Deuteranopia (no green cones)#5A52290.076
Tritanopia (no blue cones)#205C520.069
Achromatopsia (no color)#5454540.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #285F24

    #285F24

    oklch(43.4% 0.108 142.3)

  • #6C3A73

    #6C3A73

    oklch(43.4% 0.107 322.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285F24

    #285F24

    oklch(43.4% 0.108 142.3)

  • #525500

    #525500

    oklch(43.2% 0.096 112.1)

  • #005F4C

    #005F4C

    oklch(43.3% 0.083 172.9)

Open the analogous palette in the generator

Split complementary

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

  • #285F24

    #285F24

    oklch(43.4% 0.108 142.3)

  • #534386

    #534386

    oklch(43.3% 0.108 292.3)

  • #7C3457

    #7C3457

    oklch(43.5% 0.108 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285F24

    #285F24

    oklch(43.4% 0.108 142.3)

  • #2F4E8B

    #2F4E8B

    oklch(43.2% 0.108 262.5)

  • #823435

    #823435

    oklch(43.4% 0.108 21.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285F24

    #285F24

    oklch(43.4% 0.108 142.3)

  • #005879

    #005879

    oklch(43.3% 0.089 232.6)

  • #6C3A73

    #6C3A73

    oklch(43.4% 0.107 322.5)

  • #7D3C06

    #7D3C06

    oklch(43.3% 0.108 52.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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