#28642F

Closest named color: Pine (#2B5D34). oklch(45% 0.104 145.8), rgb(40, 100, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (45%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.95:1
White text7.10:1

Values

HEX#28642F
RGBrgb(40, 100, 47)
HSLhsl(127, 43%, 27%)
OKLCHoklch(45% 0.104 145.8)

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 #28642F 7.10:1 AAA Lc -89.3 Fine for body text
Black text on #28642F 2.95:1 Fails Lc 19.6 Dividers and decoration only
#28642F text on white 7.10:1 AAA Lc 84.4 Fine for body text
#28642F text on black 2.95:1 Fails Lc -17.6 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

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CCE0CC

    oklch(88.6% 0.034 145.3)

  4. Step 300

    300

    #A8CCA9

    oklch(80.9% 0.062 145.7)

  5. Step 400

    400

    #78B17B

    oklch(70.7% 0.098 145.7)

  6. Step 500

    500

    #539D59

    oklch(63.1% 0.125 145.6)

  7. Step 600

    600

    #34873E

    oklch(55.5% 0.135 145.7)

  8. Step 700

    700

    #257330

    oklch(49.2% 0.126 145.7)

  9. Step 800

    800 (this color)

    #28642F

    oklch(45% 0.104 145.8)

  10. Step 900

    900

    #214D26

    oklch(37.8% 0.081 146)

  11. Step 950

    950

    #142D16

    oklch(27% 0.052 145.6)

Export this scale for Tailwind in the Tailwind colors tool

#28642F 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)#665B2B0.082
Deuteranopia (no green cones)#5E56330.080
Tritanopia (no blue cones)#1C62580.063
Achromatopsia (no color)#5858580.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #28642F

    #28642F

    oklch(45% 0.104 145.8)

  • #723F74

    #723F74

    oklch(45.1% 0.103 325.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28642F

    #28642F

    oklch(45% 0.104 145.8)

  • #535B00

    #535B00

    oklch(44.9% 0.102 115.5)

  • #006453

    #006453

    oklch(44.9% 0.084 175.7)

Open the analogous palette in the generator

Split complementary

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

  • #28642F

    #28642F

    oklch(45% 0.104 145.8)

  • #5B4788

    #5B4788

    oklch(44.9% 0.105 296.1)

  • #813957

    #813957

    oklch(45% 0.105 356)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28642F

    #28642F

    oklch(45% 0.104 145.8)

  • #39528F

    #39528F

    oklch(45% 0.105 265.6)

  • #863B36

    #863B36

    oklch(45.1% 0.104 25.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28642F

    #28642F

    oklch(45% 0.104 145.8)

  • #005C83

    #005C83

    oklch(44.9% 0.097 236)

  • #723F74

    #723F74

    oklch(45.1% 0.103 325.8)

  • #80430C

    #80430C

    oklch(45% 0.104 55.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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