#284D25

Closest named color: Pine Green (#0A481E). oklch(38.1% 0.078 142.3), rgb(40, 77, 37).

Aa

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

About this color

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

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

Values

HEX#284D25
RGBrgb(40, 77, 37)
HSLhsl(116, 35%, 22%)
OKLCHoklch(38.1% 0.078 142.3)

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 #284D25 9.63:1 AAA Lc -96.4 Preferred for body text
Black text on #284D25 2.17:1 Fails Lc 11.8 Not readable
#284D25 text on white 9.63:1 AAA Lc 92.2 Preferred for body text
#284D25 text on black 2.17:1 Fails Lc -10.2 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  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

    #ACCBA8

    oklch(81% 0.059 141.9)

  5. Step 400

    400

    #7EB079

    oklch(70.7% 0.095 142.3)

  6. Step 500

    500

    #5C9C57

    oklch(63.2% 0.12 142.5)

  7. Step 600

    600

    #40863B

    oklch(55.7% 0.13 142.4)

  8. Step 700

    700

    #31712D

    oklch(49% 0.121 142.5)

  9. Step 800

    800

    #2A5C26

    oklch(42.6% 0.1 142.2)

  10. Step 900

    900 (this color)

    #284D25

    oklch(38.1% 0.078 142.3)

  11. Step 950

    950

    #172C16

    oklch(26.8% 0.048 143.1)

Export this scale for Tailwind in the Tailwind colors tool

#284D25 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)#4F47220.057
Deuteranopia (no green cones)#4943280.057
Tritanopia (no blue cones)#244B440.051
Achromatopsia (no color)#4545450.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #284D25

    #284D25

    oklch(38.1% 0.078 142.3)

  • #56345B

    #56345B

    oklch(38.2% 0.077 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284D25

    #284D25

    oklch(38.1% 0.078 142.3)

  • #44470B

    #44470B

    oklch(38.3% 0.078 112.5)

  • #004F3E

    #004F3E

    oklch(38.1% 0.074 172)

Open the analogous palette in the generator

Split complementary

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

  • #284D25

    #284D25

    oklch(38.1% 0.078 142.3)

  • #443A68

    #443A68

    oklch(38.1% 0.077 292.3)

  • #623047

    #623047

    oklch(38.3% 0.078 352.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284D25

    #284D25

    oklch(38.1% 0.078 142.3)

  • #2C426C

    #2C426C

    oklch(38.2% 0.077 262.4)

  • #66302F

    #66302F

    oklch(38.1% 0.078 22.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284D25

    #284D25

    oklch(38.1% 0.078 142.3)

  • #004965

    #004965

    oklch(38.1% 0.078 232.4)

  • #56345B

    #56345B

    oklch(38.2% 0.077 322.3)

  • #633516

    #633516

    oklch(38.1% 0.079 51.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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