#025F31

Closest named color: Spruce (#0A5F38). oklch(42.6% 0.108 153.4), rgb(2, 95, 49).

Aa

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

About this color

#025F31 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.108 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.011 away. White text reads best on it, at 7.82:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.68:1
White text7.82:1

Values

HEX#025F31
RGBrgb(2, 95, 49)
HSLhsl(150, 96%, 19%)
OKLCHoklch(42.6% 0.108 153.4)

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 #025F31 7.82:1 AAA Lc -91.4 Preferred for body text
Black text on #025F31 2.68:1 Fails Lc 17.4 Dividers and decoration only
#025F31 text on white 7.82:1 AAA Lc 86.6 Fine for body text
#025F31 text on black 2.68:1 Fails Lc -15.5 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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  3. Step 200

    200

    #C8E0CF

    oklch(88.4% 0.034 154.8)

  4. Step 300

    300

    #A2CDAE

    oklch(80.9% 0.063 153.5)

  5. Step 400

    400

    #6CB383

    oklch(70.7% 0.101 153.5)

  6. Step 500

    500

    #3EA063

    oklch(63.2% 0.13 153.1)

  7. Step 600

    600

    #078A4A

    oklch(55.6% 0.14 153.4)

  8. Step 700

    700

    #00743D

    oklch(49% 0.125 153.5)

  9. Step 800

    800 (this color)

    #025F31

    oklch(42.6% 0.108 153.4)

  10. Step 900

    900

    #134E2C

    oklch(37.7% 0.083 153.7)

  11. Step 950

    950

    #0E2E1A

    oklch(27.1% 0.053 153.4)

Export this scale for Tailwind in the Tailwind colors tool

#025F31 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)#5F562E0.094
Deuteranopia (no green cones)#554F340.091
Tritanopia (no blue cones)#005E540.055
Achromatopsia (no color)#5252520.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #025F31

    #025F31

    oklch(42.6% 0.108 153.4)

  • #703567

    #703567

    oklch(42.5% 0.107 333.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #025F31

    #025F31

    oklch(42.6% 0.108 153.4)

  • #445700

    #445700

    oklch(42.5% 0.104 123)

  • #005C53

    #005C53

    oklch(42.6% 0.076 183.4)

Open the analogous palette in the generator

Split complementary

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

  • #025F31

    #025F31

    oklch(42.6% 0.108 153.4)

  • #5B3D7E

    #5B3D7E

    oklch(42.5% 0.108 303.4)

  • #7D3148

    #7D3148

    oklch(42.7% 0.108 3.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #025F31

    #025F31

    oklch(42.6% 0.108 153.4)

  • #3D4889

    #3D4889

    oklch(42.6% 0.108 273.7)

  • #7F3424

    #7F3424

    oklch(42.6% 0.108 33.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #025F31

    #025F31

    oklch(42.6% 0.108 153.4)

  • #005383

    #005383

    oklch(42.6% 0.105 243.8)

  • #703567

    #703567

    oklch(42.5% 0.107 333.3)

  • #734100

    #734100

    oklch(42.7% 0.097 63.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #025F31 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.