#285A34

Closest named color: Pine (#2B5D34). oklch(42.2% 0.083 149.5), rgb(40, 90, 52).

Aa

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

About this color

#285A34 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.083 and its hue 149°. 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 8.06:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.60:1
White text8.06:1

Values

HEX#285A34
RGBrgb(40, 90, 52)
HSLhsl(134, 38%, 25%)
OKLCHoklch(42.2% 0.083 149.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 #285A34 8.06:1 AAA Lc -92.4 Preferred for body text
Black text on #285A34 2.60:1 Fails Lc 16.2 Dividers and decoration only
#285A34 text on white 8.06:1 AAA Lc 87.8 Fine for body text
#285A34 text on black 2.60:1 Fails Lc -14.4 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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE5

    oklch(93.7% 0.014 148.8)

  3. Step 200

    200

    #CDDED0

    oklch(88.4% 0.026 150.7)

  4. Step 300

    300

    #ACCAB0

    oklch(81% 0.048 148.9)

  5. Step 400

    400

    #7EAF87

    oklch(70.8% 0.078 149.7)

  6. Step 500

    500

    #5C9A68

    oklch(63% 0.099 149.1)

  7. Step 600

    600

    #3F8550

    oklch(55.7% 0.108 149.6)

  8. Step 700

    700

    #317040

    oklch(49.1% 0.1 149.2)

  9. Step 800

    800 (this color)

    #285A34

    oklch(42.2% 0.083 149.5)

  10. Step 900

    900

    #274B2E

    oklch(37.7% 0.065 148.8)

  11. Step 950

    950

    #172C1B

    oklch(27% 0.042 149.1)

Export this scale for Tailwind in the Tailwind colors tool

#285A34 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)#5B53310.069
Deuteranopia (no green cones)#544E360.068
Tritanopia (no blue cones)#1E58500.046
Achromatopsia (no color)#5050500.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #285A34

    #285A34

    oklch(42.2% 0.083 149.5)

  • #663C63

    #663C63

    oklch(42.1% 0.082 329.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #285A34

    #285A34

    oklch(42.2% 0.083 149.5)

  • #485419

    #485419

    oklch(42.2% 0.083 119.9)

  • #005B4F

    #005B4F

    oklch(42.2% 0.077 179.8)

Open the analogous palette in the generator

Split complementary

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

  • #285A34

    #285A34

    oklch(42.2% 0.083 149.5)

  • #544274

    #544274

    oklch(42.1% 0.083 299.4)

  • #71394C

    #71394C

    oklch(42.2% 0.082 359.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #285A34

    #285A34

    oklch(42.2% 0.083 149.5)

  • #3B4B7B

    #3B4B7B

    oklch(42.3% 0.083 268.7)

  • #743A32

    #743A32

    oklch(42.1% 0.083 29.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #285A34

    #285A34

    oklch(42.2% 0.083 149.5)

  • #185376

    #185376

    oklch(42.2% 0.083 239.6)

  • #663C63

    #663C63

    oklch(42.1% 0.082 329.5)

  • #6E4118

    #6E4118

    oklch(42.1% 0.083 59.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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