#28522D

Closest named color: Pine (#2B5D34). oklch(39.7% 0.077 146.5), rgb(40, 82, 45).

Aa

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

About this color

#28522D is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.077 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.036 away. White text reads best on it, at 8.99:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.33:1
White text8.99:1

Values

HEX#28522D
RGBrgb(40, 82, 45)
HSLhsl(127, 34%, 24%)
OKLCHoklch(39.7% 0.077 146.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 #28522D 8.99:1 AAA Lc -94.9 Preferred for body text
Black text on #28522D 2.33:1 Fails Lc 13.5 Not readable
#28522D text on white 8.99:1 AAA Lc 90.5 Preferred for body text
#28522D text on black 2.33:1 Fails Lc -11.8 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 900.

  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

    #CCDFCD

    oklch(88.4% 0.032 146.8)

  4. Step 300

    300

    #A9CBAB

    oklch(80.8% 0.057 146.6)

  5. Step 400

    400

    #7AB17E

    oklch(70.8% 0.094 146.3)

  6. Step 500

    500

    #559D5D

    oklch(63.2% 0.119 146.4)

  7. Step 600

    600

    #368743

    oklch(55.6% 0.129 146.7)

  8. Step 700

    700

    #287234

    oklch(49.1% 0.12 146.4)

  9. Step 800

    800

    #235D2C

    oklch(42.7% 0.099 146.6)

  10. Step 900

    900 (this color)

    #28522D

    oklch(39.7% 0.077 146.5)

  11. Step 950

    950

    #152D18

    oklch(27.1% 0.049 146.9)

Export this scale for Tailwind in the Tailwind colors tool

#28522D 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)#534C2A0.060
Deuteranopia (no green cones)#4D482F0.059
Tritanopia (no blue cones)#2150490.047
Achromatopsia (no color)#4949490.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #28522D

    #28522D

    oklch(39.7% 0.077 146.5)

  • #5C375D

    #5C375D

    oklch(39.6% 0.078 326)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28522D

    #28522D

    oklch(39.7% 0.077 146.5)

  • #454C14

    #454C14

    oklch(39.8% 0.078 116.2)

  • #005446

    #005446

    oklch(39.8% 0.074 176.4)

Open the analogous palette in the generator

Split complementary

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

  • #28522D

    #28522D

    oklch(39.7% 0.077 146.5)

  • #4B3D6C

    #4B3D6C

    oklch(39.7% 0.079 296.4)

  • #673448

    #673448

    oklch(39.7% 0.077 356.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28522D

    #28522D

    oklch(39.7% 0.077 146.5)

  • #344571

    #344571

    oklch(39.8% 0.078 266.9)

  • #6B3530

    #6B3530

    oklch(39.8% 0.078 26.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28522D

    #28522D

    oklch(39.7% 0.077 146.5)

  • #114D6B

    #114D6B

    oklch(39.9% 0.077 236)

  • #5C375D

    #5C375D

    oklch(39.6% 0.078 326)

  • #663B18

    #663B18

    oklch(39.8% 0.078 56.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28522D 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.