#285A42

Closest named color: Pine (#2B5D34). oklch(42.5% 0.068 160.6), rgb(40, 90, 66).

Aa

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

About this color

#285A42 is a dark, muted green. In OKLCH its lightness is 43%, its chroma 0.068 and its hue 161°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.026 away. White text reads best on it, at 7.98:1.

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.068)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.63:1
White text7.98:1

Values

HEX#285A42
RGBrgb(40, 90, 66)
HSLhsl(151, 38%, 25%)
OKLCHoklch(42.5% 0.068 160.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 #285A42 7.98:1 AAA Lc -92.2 Preferred for body text
Black text on #285A42 2.63:1 Fails Lc 16.5 Dividers and decoration only
#285A42 text on white 7.98:1 AAA Lc 87.5 Fine for body text
#285A42 text on black 2.63:1 Fails Lc -14.6 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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E4ECE7

    oklch(93.6% 0.011 158.8)

  3. Step 200

    200

    #CDDED4

    oklch(88.5% 0.023 160.2)

  4. Step 300

    300

    #ABC9B8

    oklch(80.9% 0.04 160.6)

  5. Step 400

    400

    #7EAD93

    oklch(70.6% 0.063 160)

  6. Step 500

    500

    #5B9979

    oklch(63.2% 0.081 160.4)

  7. Step 600

    600

    #3E8362

    oklch(55.5% 0.088 160.8)

  8. Step 700

    700

    #2F6F51

    oklch(49.1% 0.082 160.7)

  9. Step 800

    800 (this color)

    #285A42

    oklch(42.5% 0.068 160.6)

  10. Step 900

    900

    #264A38

    oklch(37.6% 0.052 160.6)

  11. Step 950

    950

    #172C21

    oklch(27.1% 0.034 160.1)

Export this scale for Tailwind in the Tailwind colors tool

#285A42 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)#5954410.065
Deuteranopia (no green cones)#524F430.062
Tritanopia (no blue cones)#185A530.028
Achromatopsia (no color)#5151510.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #285A42

    #285A42

    oklch(42.5% 0.068 160.6)

  • #683F5A

    #683F5A

    oklch(42.6% 0.069 340.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285A42

    #285A42

    oklch(42.5% 0.068 160.6)

  • #42562D

    #42562D

    oklch(42.5% 0.068 130.1)

  • #105A57

    #105A57

    oklch(42.5% 0.068 190.7)

Open the analogous palette in the generator

Split complementary

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

  • #285A42

    #285A42

    oklch(42.5% 0.068 160.6)

  • #5A446A

    #5A446A

    oklch(42.6% 0.067 310.2)

  • #6E3E46

    #6E3E46

    oklch(42.5% 0.068 9.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285A42

    #285A42

    oklch(42.5% 0.068 160.6)

  • #484A73

    #484A73

    oklch(42.6% 0.068 281)

  • #6E4131

    #6E4131

    oklch(42.5% 0.068 40.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285A42

    #285A42

    oklch(42.5% 0.068 160.6)

  • #315173

    #315173

    oklch(42.6% 0.068 251.1)

  • #683F5A

    #683F5A

    oklch(42.6% 0.069 340.7)

  • #664821

    #664821

    oklch(42.6% 0.068 71.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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