#28311D

Closest named color: Pakistan Green (#283618). oklch(29.8% 0.037 128.1), rgb(40, 49, 29).

Aa

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

About this color

#28311D is a dark, muted green. In OKLCH its lightness is 30%, its chroma 0.037 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.021 away. White text reads best on it, at 13.57:1.

Hue familyGreens
Lightnessdark (30%)
Chromamuted (0.037)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.54:1
White text13.57:1

Values

HEX#28311D
RGBrgb(40, 49, 29)
HSLhsl(87, 26%, 15%)
OKLCHoklch(29.8% 0.037 128.1)

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 #28311D 13.57:1 AAA Lc -103.2 Preferred for body text
Black text on #28311D 1.54:1 Fails Lc 0.0 Not readable
#28311D text on white 13.57:1 AAA Lc 100.1 Preferred for body text
#28311D text on black 1.54:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7ECE3

    oklch(93.7% 0.013 130.8)

  3. Step 200

    200

    #D4DCCC

    oklch(88.4% 0.023 128.8)

  4. Step 300

    300

    #B8C6A9

    oklch(80.8% 0.043 128.4)

  5. Step 400

    400

    #94A97B

    oklch(70.6% 0.069 128)

  6. Step 500

    500

    #7A9459

    oklch(63.2% 0.088 128.1)

  7. Step 600

    600

    #637E3E

    oklch(55.6% 0.096 128)

  8. Step 700

    700

    #526A30

    oklch(49.1% 0.089 127.9)

  9. Step 800

    800

    #435728

    oklch(42.8% 0.075 128.2)

  10. Step 900

    900

    #394725

    oklch(37.6% 0.057 127.2)

  11. Step 950

    950 (this color)

    #28311D

    oklch(29.8% 0.037 128.1)

Export this scale for Tailwind in the Tailwind colors tool

#28311D 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)#332E1C0.020
Deuteranopia (no green cones)#322E1E0.020
Tritanopia (no blue cones)#292F2C0.029
Achromatopsia (no color)#2E2E2E0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #28311D

    #28311D

    oklch(29.8% 0.037 128.1)

  • #32283C

    #32283C

    oklch(29.7% 0.038 307)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28311D

    #28311D

    oklch(29.8% 0.037 128.1)

  • #322E18

    #322E18

    oklch(29.9% 0.036 99.2)

  • #1D3326

    #1D3326

    oklch(29.8% 0.037 157.3)

Open the analogous palette in the generator

Split complementary

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

  • #28311D

    #28311D

    oklch(29.8% 0.037 128.1)

  • #292C40

    #292C40

    oklch(29.9% 0.037 277.4)

  • #3A2634

    #3A2634

    oklch(29.8% 0.038 338.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28311D

    #28311D

    oklch(29.8% 0.037 128.1)

  • #1E2F3F

    #1E2F3F

    oklch(29.8% 0.037 247.7)

  • #3D262A

    #3D262A

    oklch(29.9% 0.035 8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28311D

    #28311D

    oklch(29.8% 0.037 128.1)

  • #16323A

    #16323A

    oklch(29.9% 0.037 218.7)

  • #32283C

    #32283C

    oklch(29.7% 0.038 307)

  • #3D2720

    #3D2720

    oklch(29.8% 0.036 38.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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