#285F21

Closest named color: Pine (#2B5D34). oklch(43.3% 0.11 141.5), rgb(40, 95, 33).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.74:1
White text7.63:1

Values

HEX#285F21
RGBrgb(40, 95, 33)
HSLhsl(113, 48%, 25%)
OKLCHoklch(43.3% 0.11 141.5)

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 #285F21 7.63:1 AAA Lc -91.1 Preferred for body text
Black text on #285F21 2.74:1 Fails Lc 17.7 Dividers and decoration only
#285F21 text on white 7.63:1 AAA Lc 86.3 Fine for body text
#285F21 text on black 2.74: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

    #CDE0CA

    oklch(88.6% 0.036 141.4)

  4. Step 300

    300

    #AACCA5

    oklch(81% 0.065 141.5)

  5. Step 400

    400

    #7CB174

    oklch(70.7% 0.103 141.3)

  6. Step 500

    500

    #589D4F

    oklch(63.1% 0.132 141.5)

  7. Step 600

    600

    #3B8731

    oklch(55.6% 0.143 141.4)

  8. Step 700

    700

    #2C7223

    oklch(49% 0.133 141.5)

  9. Step 800

    800 (this color)

    #285F21

    oklch(43.3% 0.11 141.5)

  10. Step 900

    900

    #244D1F

    oklch(37.8% 0.087 141.6)

  11. Step 950

    950

    #162D13

    oklch(27% 0.055 141.5)

Export this scale for Tailwind in the Tailwind colors tool

#285F21 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)#61561A0.077
Deuteranopia (no green cones)#5A52260.076
Tritanopia (no blue cones)#215C520.073
Achromatopsia (no color)#5353530.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #285F21

    #285F21

    oklch(43.3% 0.11 141.5)

  • #6C3975

    #6C3975

    oklch(43.3% 0.111 321.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285F21

    #285F21

    oklch(43.3% 0.11 141.5)

  • #535500

    #535500

    oklch(43.3% 0.095 111.3)

  • #005F4B

    #005F4B

    oklch(43.2% 0.084 171.9)

Open the analogous palette in the generator

Split complementary

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

  • #285F21

    #285F21

    oklch(43.3% 0.11 141.5)

  • #524388

    #524388

    oklch(43.3% 0.111 291.1)

  • #7C3358

    #7C3358

    oklch(43.3% 0.11 351.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285F21

    #285F21

    oklch(43.3% 0.11 141.5)

  • #2D4E8D

    #2D4E8D

    oklch(43.3% 0.111 262)

  • #833335

    #833335

    oklch(43.4% 0.111 21.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285F21

    #285F21

    oklch(43.3% 0.11 141.5)

  • #005878

    #005878

    oklch(43.2% 0.088 231.8)

  • #6C3975

    #6C3975

    oklch(43.3% 0.111 321.4)

  • #7E3B03

    #7E3B03

    oklch(43.3% 0.11 51.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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