#283F21

Closest named color: Pakistan Green (#283618). oklch(34% 0.058 138.6), rgb(40, 63, 33).

Aa

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

About this color

#283F21 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.058 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 11.51:1.

Hue familyGreens
Lightnessdark (34%)
Chromamuted (0.058)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.82:1
White text11.51:1

Values

HEX#283F21
RGBrgb(40, 63, 33)
HSLhsl(106, 31%, 19%)
OKLCHoklch(34% 0.058 138.6)

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 #283F21 11.51:1 AAA Lc -100.1 Preferred for body text
Black text on #283F21 1.82:1 Fails Lc 7.4 Not readable
#283F21 text on white 11.51:1 AAA Lc 96.5 Preferred for body text
#283F21 text on black 1.82: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 900.

  1. Step 50

    50

    #F3F6F3

    oklch(97% 0.005 145.5)

  2. Step 100

    100

    #E6ECE4

    oklch(93.6% 0.012 137.8)

  3. Step 200

    200

    #D1DDCE

    oklch(88.4% 0.024 139.4)

  4. Step 300

    300

    #B3C8AD

    oklch(80.9% 0.044 138.7)

  5. Step 400

    400

    #8BAB81

    oklch(70.6% 0.069 138.3)

  6. Step 500

    500

    #6E9762

    oklch(63.2% 0.089 138.7)

  7. Step 600

    600

    #558148

    oklch(55.6% 0.097 138.8)

  8. Step 700

    700

    #456D39

    oklch(49.1% 0.091 138.8)

  9. Step 800

    800

    #395930

    oklch(42.8% 0.075 139)

  10. Step 900

    900 (this color)

    #283F21

    oklch(34% 0.058 138.6)

  11. Step 950

    950

    #1D2B19

    oklch(27% 0.038 138.9)

Export this scale for Tailwind in the Tailwind colors tool

#283F21 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)#413B1F0.040
Deuteranopia (no green cones)#3D38230.040
Tritanopia (no blue cones)#273D380.040
Achromatopsia (no color)#3939390.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #283F21

    #283F21

    oklch(34% 0.058 138.6)

  • #452E4B

    #452E4B

    oklch(34.1% 0.058 319.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #283F21

    #283F21

    oklch(34% 0.058 138.6)

  • #3A3A13

    #3A3A13

    oklch(33.9% 0.058 109.1)

  • #114132

    #114132

    oklch(33.8% 0.058 168.5)

Open the analogous palette in the generator

Split complementary

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

  • #283F21

    #283F21

    oklch(34% 0.058 138.6)

  • #373354

    #373354

    oklch(34.1% 0.057 288.5)

  • #4E2B3D

    #4E2B3D

    oklch(34% 0.058 348.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #283F21

    #283F21

    oklch(34% 0.058 138.6)

  • #253856

    #253856

    oklch(34% 0.059 259.2)

  • #522B2C

    #522B2C

    oklch(34% 0.058 18.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #283F21

    #283F21

    oklch(34% 0.058 138.6)

  • #0F3D50

    #0F3D50

    oklch(33.9% 0.058 230)

  • #452E4B

    #452E4B

    oklch(34.1% 0.058 319.2)

  • #502E1C

    #502E1C

    oklch(34% 0.058 48)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #283F21 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.