#285F2C

Closest named color: Pine (#2B5D34). oklch(43.5% 0.1 145), rgb(40, 95, 44).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.76:1
White text7.59:1

Values

HEX#285F2C
RGBrgb(40, 95, 44)
HSLhsl(124, 41%, 26%)
OKLCHoklch(43.5% 0.1 145)

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 #285F2C 7.59:1 AAA Lc -91.0 Preferred for body text
Black text on #285F2C 2.76:1 Fails Lc 17.8 Dividers and decoration only
#285F2C text on white 7.59:1 AAA Lc 86.2 Fine for body text
#285F2C 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

    #CDDFCC

    oklch(88.5% 0.032 143.8)

  4. Step 300

    300

    #AACBAA

    oklch(80.9% 0.058 145)

  5. Step 400

    400

    #7BB07C

    oklch(70.6% 0.093 145)

  6. Step 500

    500

    #579C5B

    oklch(63% 0.119 145.2)

  7. Step 600

    600

    #3A8640

    oklch(55.5% 0.129 145.1)

  8. Step 700

    700

    #2C7232

    oklch(49.2% 0.12 145)

  9. Step 800

    800 (this color)

    #285F2C

    oklch(43.5% 0.1 145)

  10. Step 900

    900

    #244C26

    oklch(37.6% 0.078 144.8)

  11. Step 950

    950

    #162D17

    oklch(27.1% 0.049 145)

Export this scale for Tailwind in the Tailwind colors tool

#285F2C 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)#6157280.076
Deuteranopia (no green cones)#5952300.075
Tritanopia (no blue cones)#1F5D530.060
Achromatopsia (no color)#5454540.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #285F2C

    #285F2C

    oklch(43.5% 0.1 145)

  • #6C3C6F

    #6C3C6F

    oklch(43.5% 0.099 325)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285F2C

    #285F2C

    oklch(43.5% 0.1 145)

  • #505700

    #505700

    oklch(43.6% 0.099 115)

  • #005F4E

    #005F4E

    oklch(43.3% 0.082 174.9)

Open the analogous palette in the generator

Split complementary

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

  • #285F2C

    #285F2C

    oklch(43.5% 0.1 145)

  • #564482

    #564482

    oklch(43.5% 0.101 295.3)

  • #7A3754

    #7A3754

    oklch(43.5% 0.099 354.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285F2C

    #285F2C

    oklch(43.5% 0.1 145)

  • #364E88

    #364E88

    oklch(43.4% 0.1 265.5)

  • #7F3834

    #7F3834

    oklch(43.5% 0.099 25.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285F2C

    #285F2C

    oklch(43.5% 0.1 145)

  • #00587C

    #00587C

    oklch(43.5% 0.092 234.9)

  • #6C3C6F

    #6C3C6F

    oklch(43.5% 0.099 325)

  • #7A400E

    #7A400E

    oklch(43.6% 0.1 55.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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