#285F2F

Closest named color: Pine (#2B5D34). oklch(43.5% 0.096 146.2), rgb(40, 95, 47).

Aa

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

About this color

#285F2F is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.096 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.011 away. White text reads best on it, at 7.58:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.76:1
White text7.58:1

Values

HEX#285F2F
RGBrgb(40, 95, 47)
HSLhsl(128, 41%, 26%)
OKLCHoklch(43.5% 0.096 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 #285F2F 7.58:1 AAA Lc -90.9 Preferred for body text
Black text on #285F2F 2.76:1 Fails Lc 17.9 Dividers and decoration only
#285F2F text on white 7.58:1 AAA Lc 86.1 Fine for body text
#285F2F text on black 2.76:1 Fails Lc -15.9 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

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CDDFCD

    oklch(88.5% 0.031 145.3)

  4. Step 300

    300

    #AACBAB

    oklch(80.9% 0.057 145.8)

  5. Step 400

    400

    #7BB07F

    oklch(70.7% 0.09 146.4)

  6. Step 500

    500

    #579C5E

    oklch(63.1% 0.116 146.3)

  7. Step 600

    600

    #3A8644

    oklch(55.5% 0.125 146.2)

  8. Step 700

    700

    #2B7235

    oklch(49.2% 0.118 146.1)

  9. Step 800

    800 (this color)

    #285F2F

    oklch(43.5% 0.096 146.2)

  10. Step 900

    900

    #244C28

    oklch(37.7% 0.075 146)

  11. Step 950

    950

    #162D18

    oklch(27.1% 0.048 146)

Export this scale for Tailwind in the Tailwind colors tool

#285F2F 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)#60572B0.075
Deuteranopia (no green cones)#5952320.074
Tritanopia (no blue cones)#1E5D540.058
Achromatopsia (no color)#5454540.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #285F2F

    #285F2F

    oklch(43.5% 0.096 146.2)

  • #6C3D6D

    #6C3D6D

    oklch(43.6% 0.095 326.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285F2F

    #285F2F

    oklch(43.5% 0.096 146.2)

  • #4F5706

    #4F5706

    oklch(43.5% 0.096 115.8)

  • #006050

    #006050

    oklch(43.7% 0.082 176.1)

Open the analogous palette in the generator

Split complementary

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

  • #285F2F

    #285F2F

    oklch(43.5% 0.096 146.2)

  • #574580

    #574580

    oklch(43.7% 0.096 296.3)

  • #7A3853

    #7A3853

    oklch(43.6% 0.097 356.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285F2F

    #285F2F

    oklch(43.5% 0.096 146.2)

  • #384E86

    #384E86

    oklch(43.4% 0.097 266.3)

  • #7E3934

    #7E3934

    oklch(43.5% 0.097 26.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285F2F

    #285F2F

    oklch(43.5% 0.096 146.2)

  • #00587E

    #00587E

    oklch(43.6% 0.094 236.4)

  • #6C3D6D

    #6C3D6D

    oklch(43.6% 0.095 326.3)

  • #784111

    #784111

    oklch(43.5% 0.096 56.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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