#284E26

Closest named color: Pine Green (#0A481E). oklch(38.4% 0.079 142.9), rgb(40, 78, 38).

Aa

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

About this color

#284E26 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.079 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.035 away. White text reads best on it, at 9.51:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.20:1
White text9.51:1

Values

HEX#284E26
RGBrgb(40, 78, 38)
HSLhsl(117, 34%, 23%)
OKLCHoklch(38.4% 0.079 142.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 #284E26 9.51:1 AAA Lc -96.1 Preferred for body text
Black text on #284E26 2.20:1 Fails Lc 12.1 Not readable
#284E26 text on white 9.51:1 AAA Lc 91.9 Preferred for body text
#284E26 text on black 2.20:1 Fails Lc -10.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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #ABCBA8

    oklch(80.9% 0.059 142.7)

  5. Step 400

    400

    #7DB07A

    oklch(70.7% 0.094 143.2)

  6. Step 500

    500

    #5B9C57

    oklch(63.2% 0.12 142.8)

  7. Step 600

    600

    #3E863B

    oklch(55.6% 0.131 142.8)

  8. Step 700

    700

    #30712D

    oklch(49% 0.121 142.7)

  9. Step 800

    800

    #295C27

    oklch(42.6% 0.1 142.9)

  10. Step 900

    900 (this color)

    #284E26

    oklch(38.4% 0.079 142.9)

  11. Step 950

    950

    #172D16

    oklch(27.2% 0.05 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#284E26 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)#5048230.058
Deuteranopia (no green cones)#4A44290.058
Tritanopia (no blue cones)#244C450.051
Achromatopsia (no color)#4646460.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #284E26

    #284E26

    oklch(38.4% 0.079 142.9)

  • #57345C

    #57345C

    oklch(38.4% 0.079 322.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284E26

    #284E26

    oklch(38.4% 0.079 142.9)

  • #44480B

    #44480B

    oklch(38.6% 0.079 113.4)

  • #005040

    #005040

    oklch(38.5% 0.074 173.3)

Open the analogous palette in the generator

Split complementary

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

  • #284E26

    #284E26

    oklch(38.4% 0.079 142.9)

  • #453B69

    #453B69

    oklch(38.5% 0.077 292.4)

  • #633047

    #633047

    oklch(38.4% 0.079 353.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284E26

    #284E26

    oklch(38.4% 0.079 142.9)

  • #2D426D

    #2D426D

    oklch(38.4% 0.078 263.4)

  • #67312F

    #67312F

    oklch(38.4% 0.078 23.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284E26

    #284E26

    oklch(38.4% 0.079 142.9)

  • #014A66

    #014A66

    oklch(38.5% 0.078 232.3)

  • #57345C

    #57345C

    oklch(38.4% 0.079 322.4)

  • #643616

    #643616

    oklch(38.5% 0.079 52.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284E26 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.