#28512F

Closest named color: Pine (#2B5D34). oklch(39.5% 0.073 147.9), rgb(40, 81, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.30:1
White text9.09:1

Values

HEX#28512F
RGBrgb(40, 81, 47)
HSLhsl(130, 34%, 24%)
OKLCHoklch(39.5% 0.073 147.9)

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 #28512F 9.09:1 AAA Lc -95.2 Preferred for body text
Black text on #28512F 2.30:1 Fails Lc 13.2 Not readable
#28512F text on white 9.09:1 AAA Lc 90.8 Preferred for body text
#28512F text on black 2.30:1 Fails Lc -11.5 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CCDFCE

    oklch(88.5% 0.031 148.4)

  4. Step 300

    300

    #A9CBAD

    oklch(80.9% 0.055 148.3)

  5. Step 400

    400

    #7AB081

    oklch(70.7% 0.089 147.9)

  6. Step 500

    500

    #569C61

    oklch(63.1% 0.113 147.7)

  7. Step 600

    600

    #388648

    oklch(55.5% 0.122 148)

  8. Step 700

    700

    #297239

    oklch(49.2% 0.115 147.9)

  9. Step 800

    800

    #245D30

    oklch(42.8% 0.094 148.1)

  10. Step 900

    900 (this color)

    #28512F

    oklch(39.5% 0.073 147.9)

  11. Step 950

    950

    #152D19

    oklch(27.1% 0.048 148)

Export this scale for Tailwind in the Tailwind colors tool

#28512F 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)#524B2D0.060
Deuteranopia (no green cones)#4C47310.058
Tritanopia (no blue cones)#214F480.042
Achromatopsia (no color)#4848480.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #28512F

    #28512F

    oklch(39.5% 0.073 147.9)

  • #5B375A

    #5B375A

    oklch(39.4% 0.073 327.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28512F

    #28512F

    oklch(39.5% 0.073 147.9)

  • #434B19

    #434B19

    oklch(39.4% 0.073 117.5)

  • #005346

    #005346

    oklch(39.6% 0.073 177.4)

Open the analogous palette in the generator

Split complementary

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

  • #28512F

    #28512F

    oklch(39.5% 0.073 147.9)

  • #4B3D69

    #4B3D69

    oklch(39.5% 0.074 297.6)

  • #653446

    #653446

    oklch(39.4% 0.074 357.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28512F

    #28512F

    oklch(39.5% 0.073 147.9)

  • #35446E

    #35446E

    oklch(39.4% 0.074 268)

  • #683630

    #683630

    oklch(39.5% 0.073 28)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28512F

    #28512F

    oklch(39.5% 0.073 147.9)

  • #174B69

    #174B69

    oklch(39.4% 0.074 238.4)

  • #5B375A

    #5B375A

    oklch(39.4% 0.073 327.8)

  • #633B1A

    #633B1A

    oklch(39.4% 0.073 57.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28512F 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.