#255A22

Closest named color: Pine (#2B5D34). oklch(41.7% 0.104 142.5), rgb(37, 90, 34).

Aa

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

About this color

#255A22 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.104 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.024 away. White text reads best on it, at 8.18:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.56:1
White text8.18:1

Values

HEX#255A22
RGBrgb(37, 90, 34)
HSLhsl(117, 45%, 24%)
OKLCHoklch(41.7% 0.104 142.5)

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 #255A22 8.18:1 AAA Lc -92.7 Preferred for body text
Black text on #255A22 2.56:1 Fails Lc 15.9 Dividers and decoration only
#255A22 text on white 8.18:1 AAA Lc 88.1 Fine for body text
#255A22 text on black 2.56:1 Fails Lc -14.1 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 800.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE2

    oklch(93.6% 0.018 142.8)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #ABCBA7

    oklch(80.9% 0.061 142)

  5. Step 400

    400

    #7DB078

    oklch(70.7% 0.096 142.3)

  6. Step 500

    500

    #5A9C55

    oklch(63.1% 0.123 142.5)

  7. Step 600

    600

    #3D8639

    oklch(55.5% 0.134 142.6)

  8. Step 700

    700

    #2E722B

    oklch(49.2% 0.126 142.7)

  9. Step 800

    800 (this color)

    #255A22

    oklch(41.7% 0.104 142.5)

  10. Step 900

    900

    #254C23

    oklch(37.6% 0.08 142.8)

  11. Step 950

    950

    #172D15

    oklch(27.1% 0.051 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#255A22 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)#5C521C0.074
Deuteranopia (no green cones)#554D260.074
Tritanopia (no blue cones)#1D574E0.067
Achromatopsia (no color)#4F4F4F0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #255A22

    #255A22

    oklch(41.7% 0.104 142.5)

  • #66376D

    #66376D

    oklch(41.8% 0.103 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #255A22

    #255A22

    oklch(41.7% 0.104 142.5)

  • #4E5100

    #4E5100

    oklch(41.8% 0.093 112.2)

  • #005A48

    #005A48

    oklch(41.7% 0.08 173)

Open the analogous palette in the generator

Split complementary

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

  • #255A22

    #255A22

    oklch(41.7% 0.104 142.5)

  • #4F3F7F

    #4F3F7F

    oklch(41.6% 0.104 292.8)

  • #753152

    #753152

    oklch(41.7% 0.103 352.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #255A22

    #255A22

    oklch(41.7% 0.104 142.5)

  • #2D4A84

    #2D4A84

    oklch(41.7% 0.103 262.7)

  • #7B3131

    #7B3131

    oklch(41.7% 0.104 22.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #255A22

    #255A22

    oklch(41.7% 0.104 142.5)

  • #005473

    #005473

    oklch(41.9% 0.085 232)

  • #66376D

    #66376D

    oklch(41.8% 0.103 322.3)

  • #773905

    #773905

    oklch(41.8% 0.104 52.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #255A22 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.