#285F1F

Closest named color: Pine (#2B5D34). oklch(43.3% 0.112 141), rgb(40, 95, 31).

Aa

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

About this color

#285F1F is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.112 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.029 away. White text reads best on it, at 7.64:1.

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

Values

HEX#285F1F
RGBrgb(40, 95, 31)
HSLhsl(112, 51%, 25%)
OKLCHoklch(43.3% 0.112 141)

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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C9

    oklch(88.6% 0.037 140.2)

  4. Step 300

    300

    #AACCA4

    oklch(81% 0.066 140.9)

  5. Step 400

    400

    #7CB173

    oklch(70.7% 0.104 140.9)

  6. Step 500

    500

    #589D4D

    oklch(63.1% 0.134 141)

  7. Step 600

    600

    #3B872E

    oklch(55.6% 0.146 140.9)

  8. Step 700

    700

    #2C7221

    oklch(49% 0.135 141.1)

  9. Step 800

    800 (this color)

    #285F1F

    oklch(43.3% 0.112 141)

  10. Step 900

    900

    #244D1E

    oklch(37.8% 0.088 141.2)

  11. Step 950

    950

    #162D12

    oklch(27% 0.056 140.8)

Export this scale for Tailwind in the Tailwind colors tool

#285F1F 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)#6256170.079
Deuteranopia (no green cones)#5A52240.076
Tritanopia (no blue cones)#215C520.075
Achromatopsia (no color)#5353530.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #285F1F

    #285F1F

    oklch(43.3% 0.112 141)

  • #6C3975

    #6C3975

    oklch(43.3% 0.111 321.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285F1F

    #285F1F

    oklch(43.3% 0.112 141)

  • #535500

    #535500

    oklch(43.3% 0.095 111.3)

  • #005F4A

    #005F4A

    oklch(43.2% 0.085 171)

Open the analogous palette in the generator

Split complementary

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

  • #285F1F

    #285F1F

    oklch(43.3% 0.112 141)

  • #524389

    #524389

    oklch(43.4% 0.112 290.8)

  • #7C3258

    #7C3258

    oklch(43.2% 0.112 350.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285F1F

    #285F1F

    oklch(43.3% 0.112 141)

  • #2B4E8D

    #2B4E8D

    oklch(43.2% 0.112 261.2)

  • #833235

    #833235

    oklch(43.3% 0.112 20.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285F1F

    #285F1F

    oklch(43.3% 0.112 141)

  • #005878

    #005878

    oklch(43.2% 0.088 231.8)

  • #6C3975

    #6C3975

    oklch(43.3% 0.111 321.4)

  • #7F3A01

    #7F3A01

    oklch(43.3% 0.112 50.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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